[Public] > -----Original Message----- > From: Bjorn Helgaas <helgaas@xxxxxxxxxx> > Sent: Friday, February 17, 2023 11:04 AM > To: Antonovitch, Anatoli <Anatoli.Antonovitch@xxxxxxx> > Cc: Lukas Wunner <lukas@xxxxxxxxx>; Anatoli Antonovitch > <a.antonovitch@xxxxxxxxx>; linux-pci@xxxxxxxxxxxxxxx; > bhelgaas@xxxxxxxxxx; Deucher, Alexander > <Alexander.Deucher@xxxxxxx>; Koenig, Christian > <Christian.Koenig@xxxxxxx> > Subject: Re: [PATCH] PCI/hotplug: Replaced down_write_nested with > hotplug_slot_rwsem if ctrl->depth > 0 when taking the ctrl->reset_lock. > > On Mon, Feb 13, 2023 at 09:59:52AM -0500, Anatoli Antonovitch wrote: > > Hi Lukas, > > > > Can we revisit the patches again to get a fix? > > The issue still reproduce and visible in the kernel 6.2.0-rc8. > > > On 2023-01-23 14:30, Anatoli Antonovitch wrote: > > > I do not see a deadlock, when applying the following old patch: > > > https://lore.kernel.org/linux-pci/908047f7699d9de9ec2efd6b79aa752d73 > > > dab4b6.1595329748.git.lukas@xxxxxxxxx/ > > This old patch would need to be updated and reposted. There was a 0-day > bot issue and a question to be resolved. Maybe this is all already resolved, > but it needs to be posted and tested with a current kernel. Lukas, can you resend that patch? We can test it. Alex > > > > after merge for the kernel 6.2.0-rc5, and applied the alternative patch: > > > https://patchwork.kernel.org/project/linux-pci/patch/3dc88ea82bdc0e3 > > > 7d9000e413d5ebce481cbd629.1674205689.git.lukas@xxxxxxxxx/ > > This one is on track to appear in v6.3-rc1: > https://git.kernel.org/cgit/linux/kernel/git/pci/pci.git/commit/?id=74ff8864c > c84 > > > > I have uploaded the merged patch and the system log for the upstream > > > kernel. > > > > > > Anatoli > > > > > > > > > On 2023-01-21 02:21, Lukas Wunner wrote: > > > > You're now getting a different deadlock. That one is addressed by > > > > this old patch (it's already linked from the bugzilla): > > > > > > > > https://lore.kernel.org/linux-pci/908047f7699d9de9ec2efd6b79aa752d > > > > 73dab4b6.1595329748.git.lukas@xxxxxxxxx/ > > > > > > > > > > > > If you apply that patch plus the new one, do you still see a deadlock?