[PATCH v2] PCI: Fix root port reset lock ordering issue

Lukas Wunner lukas at wunner.de
Tue Dec 1 03:11:17 PST 2026


On Tue, Dec 01, 2026 at 12:01:30PM +0100, Paul Cercueil wrote:
> Currently, pci_host_reset_root_port() calls pci_lock_rescan_remove(),
> to protect pci_bus_error_reset() racing against
> pciehp_unconfigure_device().

Per Qiang, this is necessary to avoid NOC errors when accessing devices
during reset, not because of a race with pciehp:

https://lore.kernel.org/r/aw6he+%2FVplrh036p@hu-qianyu-lv.qualcomm.com/



More information about the linux-arm-kernel mailing list