New: PCI link is down after suspend after we try to plug device
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: NoCreated attachment 300434
--> https://bugzilla.kernel.org/attachment.cgi?id=300434&action=edit
dmesg logPCI 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
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