]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
UBUNTU: SAUCE: whitelist platforms that needs save/restore ASPM L1SS for suspend...
authorChia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Thu, 25 Aug 2022 01:56:00 +0000 (03:56 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 26 Aug 2022 08:54:32 +0000 (10:54 +0200)
commitad0f2ad66f16760087acf7e9a1dc8d399a6e1299
tree9912184ed29f37f31b0693911a8ea36d4ccaebbf
parent218afb81c32467d29a90a08faf246e807feaba9a
UBUNTU: SAUCE: whitelist platforms that needs save/restore ASPM L1SS for suspend/resume

BugLink: https://bugs.launchpad.net/bugs/1980829
Add a DMI quirk for the previous commit
"PCI/ASPM: Save/restore L1SS Capability for suspend/resume"
The DMI quirk lists the platforms that needs this patch, and also
applied the concept of the below commit to not call
pcie_aspm_pm_state_change() if the platform is listed in the whitelist
https://patchwork.ozlabs.org/project/linux-pci/patch/20220509073639.2048236-1-kai.heng.feng@canonical.com/

v2.
   1. added the missing null terminator at the end of the quirk
   2. changed the DMI match for LENOVO to its DMI_BIOS_VERSION

Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/pci/pci.c