Re: Lockdep warning in PCI-e hotplug code

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

 



On Sun, Aug 09, 2020 at 08:23:20PM +0200, Hans de Goede wrote:
> [  139.759255] ============================================
> [  139.759257] WARNING: possible recursive locking detected
> [  139.759259] 5.8.0+ #16 Tainted: G            E
> [  139.759260] --------------------------------------------
> [  139.759261] irq/125-pciehp/143 is trying to acquire lock:
> [  139.759263] ffff95ee9f3d1f38 (&ctrl->reset_lock){.+.+}-{3:3}, at: pciehp_check_presence+0x23/0x80
> [  139.759269]
>                but task is already holding lock:
> [  139.759270] ffff95eee497e738 (&ctrl->reset_lock){.+.+}-{3:3}, at: pciehp_ist+0xdf/0x120

False positive, the reset_lock is per-controller and multiple
instances of the lock are held concurrently because pciehp
controllers are nested with Thunderbolt.

This was already reported by Theodore T'so:
https://lore.kernel.org/linux-pci/20190402021933.GA2966@xxxxxxx/

So the issue is on my radar and I have some ideas how to fix it.
Let me get back to you with a solution later.  In the meantime,
thank you for the report.

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