]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Don't print stale information about resource
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 24 Sep 2025 13:56:41 +0000 (16:56 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Sep 2025 23:44:04 +0000 (18:44 -0500)
commit15c5867b0ae6a47914b45daf3b64e2d2aceb4ee5
treefeb676918d2552156106103e4f06bdc42c45dbd8
parent43b4f7cd064b2ae11742f33e2af195adae00c617
PCI: Don't print stale information about resource

pbus_size_mem() logs the bridge window resource using pci_info() before the
start and end fields of the resource have been updated which then prints
stale information.

Set resource addresses earlier to make understanding logs easier.
Regrettably, this results in setting the addresses multiple times but that
seems unavoidable.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250924135641.3399-1-ilpo.jarvinen@linux.intel.com
drivers/pci/setup-bus.c