Re: [PATCH resend v2] PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors

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

 



On Tue, Jan 11, 2022 at 11:14:47AM -0600, Bjorn Helgaas wrote:
> On Fri, Dec 17, 2021 at 03:17:09PM +0100, Hans de Goede wrote:
> > Use down_read_nested() and down_write_nested() when taking the
> > ctrl->reset_lock rw-sem, passing the number of PCIe hotplug controllers in
> > the path to the PCI root bus as lock subclass parameter. This fixes the
> > following false-positive lockdep report when unplugging a Lenovo X1C8 from
> > a Lenovo 2nd gen TB3 dock:
[...]
> Applied to pci/hotplug for v5.17, thanks, Hans!

I've realized only now that Hans reported this issue already in August 2020
and opened a bugzilla for it:

https://bugzilla.kernel.org/show_bug.cgi?id=208855

The status can now be set to RESOLVED FIXED.  I don't have permission
to do that but perhaps either of you, Bjorn or Hans, has?

Also, the commit could optionally be amended with a Link: tag to that
bugzilla entry.

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