[SRU] [OEM-5.10/OEM-5.13] [PATCH 0/2] Backport AMD nvme workaround

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Jul 1 05:18:33 UTC 2021


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

[Impact]
S2idle still fails on some AMD Renoir laptops.

[Fix]
Commit "nvme-pci: look for StorageD3Enable on companion ACPI device
instead" requires correspondence change in ACPI to really work.

[Test]
AMD confirmed the two commits can make the s2idle work on Renoir
platforms.

[Where problems could occur]
If any AMD platform actually supports D3cold, this change may increase
power consumption.

Mario Limonciello (2):
  ACPI: Check StorageD3Enable _DSD property in ACPI code
  ACPI: Add quirks for AMD Renoir/Lucienne CPUs to force the D3 hint

 drivers/acpi/device_pm.c | 32 ++++++++++++++++++++++++++++++++
 drivers/acpi/internal.h  |  9 +++++++++
 drivers/acpi/x86/utils.c | 25 +++++++++++++++++++++++++
 drivers/nvme/host/pci.c  | 28 +---------------------------
 include/linux/acpi.h     |  5 +++++
 5 files changed, 72 insertions(+), 27 deletions(-)

-- 
2.31.1




More information about the kernel-team mailing list