Skip to contentSkip to conversation

New: PCI link is down after suspend after we try to plug device

Bug 215590 Bjorn Helgaas 1 participant 1 message Feb 15, 2022 1 message not in the archive PCI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw
Quoted 34 lines · On Fri, Feb 11, 2022 at 02:29:33PM +0000, [email protected] wrote:

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

           Summary: PCI link is down after suspend after we try to plug
                    device
    Kernel Version: 5.4 and 5.11
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
          Severity: high
          Priority: P1
        Regression: No

Created attachment 300434
--> https://bugzilla.kernel.org/attachment.cgi?id=300434&action=edit
dmesg log

PCI link is not coming up

we have been facing a race condition between AER and hoptplug stack which is happening after suspend when device is unplugged, to avoid that we have used below three patches.

1 - To Avoid lockdep

https://lore.kernel.org/linux-pci/908047f7699d9de9ec2efd6b79aa752d73dab4b6.1595329748.git.lukas@wunner.de/

2 - AER sleep transition patch
https://lore.kernel.org/linux-pci/[email protected]/

3 - DPC sleep transition patch
https://lore.kernel.org/linux-pci/[email protected]/

Additional info when we are using unplug using sysfs we dont see the issue