]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Free saved list without holding pci_bus_sem
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 13 Nov 2025 16:26:22 +0000 (18:26 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Nov 2025 18:33:10 +0000 (12:33 -0600)
commit1d8a0506f69895b7cfd9d5c4546761c508231a8a
treee52c1e051cda3d82b560b10342395157b723fcae
parent121d3e9e4b217f2f23715901fb15c6a3ca2bab46
PCI: Free saved list without holding pci_bus_sem

Freeing the saved list does not require holding pci_bus_sem, so the
critical section can be made shorter.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org> # AVA, AMD GPU
Link: https://patch.msgid.link/20251113162628.5946-6-ilpo.jarvinen@linux.intel.com
drivers/pci/setup-bus.c