Re: [PATCH] PCI: pciehp: fix circular lock dependency b/w pci_rescan_remove_lock and reset_lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 19, 2025 at 09:16:10PM +0530, Raju Rangoju wrote:
> Resolves a circular locking dependency issue between
> pci_rescan_remove_lock() and ctrl->reset_lock() in the PCI hotplug
> subsystem, specifically in the pciehp_unconfigure_device() function.

This seems to be a false-positive because the two stacktraces are identical
but pciehp_ist() is single-threaded.  There is only ever a single instance
of pciehp_ist() running per hotplug port, so two instances running on
separate CPUs can never happen.

Previous reports of the same false-positive lockdep splat, only they
refer to pciehp_configure_device() instead of pciehp_unconfigure_device():

https://lore.kernel.org/r/20231015093722.GA11283@xxxxxxxxx/
https://lore.kernel.org/r/ZzJm6QrQyT48jGuN@xxxxxxxxx/

Thanks,

Lukas




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux