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

Paul Cercueil paul.cercueil at bootlin.com
Tue Dec 1 06:04:07 PST 2026


Hi Lukas,

Le mardi 01 décembre 2026 à 12:11 +0100, Lukas Wunner a écrit :
> 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/

Understood. I'll leave you guys to it.

Cheers,
-Paul



More information about the linux-arm-kernel mailing list