]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Log all resource claims
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 29 Apr 2026 12:26:07 +0000 (15:26 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 4 May 2026 22:53:11 +0000 (17:53 -0500)
commit432b936fa6b7a8ad5d7ea55be9522c6dc24b9554
tree90a87e1d3a6eae07f416b6442a183ed97863dc9b
parent254f49634ee16a731174d2ae34bc50bd5f45e731
PCI: Log all resource claims

There are two ways to graft resource into resource tree in PCI,
pci_assign_resource() and pci_claim_resource(). Only the former logs
the action, which complicated troubleshooting the cases where resources
are assigned by pci_claim_resource(), which mostly assigns the addresses
inherited from the FW.

Add logging into pci_claim_resource() to make troubleshooting easier.

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