[PATCH 0/1][SRU][oem-5.13/oem-5.14/impish/jammy] platform/x86: amd-pmc: Fix s2idle failures on certain AMD laptops

You-Sheng Yang vicamo.yang at canonical.com
Mon Dec 13 14:29:13 UTC 2021


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

[Impact]

AMD Ryzen 7 platforms fail to s2idle when powered by bettery.

[Fix]

Upstream fix commit 49201b90af81 ("platform/x86: amd-pmc: Fix s2idle
failures on certain AMD laptops") from v5.16-rc5.

[Test Case]

Run checkbox suspend/resume tests on battey:

  $ checkbox-cli run \
      com.canonical.certification::stress-suspend-30-cycles-with-reboots-automated

[Where problems could occur]

This shortens AMD PMC communication poll delay to a half of the original
value. While we don't have much information about the exact value range
allowed, the side effect couldn't be evaluated practically. This change
was ACKed by AMD developers and has been marked cc stable, we'll
probably bump into it anyway.

[Other Info]

This may affect kernel >= 5.11. While Hirsute is near its EOL, it was
skipped here.

Fabrizio Bertocci (1):
  platform/x86: amd-pmc: Fix s2idle failures on certain AMD laptops

 drivers/platform/x86/amd-pmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.32.0




More information about the kernel-team mailing list