[PATCH 0/2][SRU][J][K] System freeze after resuming from suspend due to PCI ASPM settings

AceLan Kao acelan.kao at canonical.com
Wed Aug 24 11:13:54 UTC 2022


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1980829

[Impact]
While doing some tests such as suspend/resume or CPU stress tests the system would hang.

[Fix]
The 2 commits fix the issue, but still not get accepted yet.
https://patchwork.ozlabs.org/project/linux-pci/patch/20220705060014.10050-1-vidyas@nvidia.com/
https://patchwork.ozlabs.org/project/linux-pci/patch/20220509073639.2048236-1-kai.heng.feng@canonical.com/

So, I created a DMI quirk to make the patches only affects on listed platforms.

[Test]
Verified on the failed machines and ODM also verified on their side.

[Where problems could occur]
The patches only affects on the listed platforms, and won't affect other platforms.

Chia-Lin Kao (AceLan) (1):
  UBUNTU: SAUCE: whitelist platforms that needs save/restore ASPM L1SS
    for suspend/resume

Vidya Sagar (1):
  UBUNTU: SAUCE: PCI/ASPM: Save/restore L1SS Capability for
    suspend/resume

 drivers/pci/pci.c       | 31 ++++++++++++++++++++++++++++-
 drivers/pci/pci.h       |  4 ++++
 drivers/pci/pcie/aspm.c | 44 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 78 insertions(+), 1 deletion(-)

-- 
2.25.1




More information about the kernel-team mailing list