Bug 215797 - Lenovo IdeaPad won't resume from suspend while plugged into AC adapter - AMD Ryzen 7 3700U
Summary: Lenovo IdeaPad won't resume from suspend while plugged into AC adapter - AMD ...
Status: RESOLVED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: acpi_power-processor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-03 23:53 UTC by Tim S
Modified: 2022-10-31 00:55 UTC (History)
4 users (show)

See Also:
Kernel Version: 5.17.1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Tim S 2022-04-03 23:53:51 UTC
I am experiencing this bug on a Lenovo IdeaPad S340 with an AMD Ryzen 7 3700U, running Arch.

Upon pressing the power button to wake the system (while plugged into power; on battery it seems fine), the keyboard lights up and the caps lock key blinks, nothing is displayed on the screen and the system must be forcibly powered off. Nothing is logged to system journal (at least, that can be seen from the next boot)

Bisecting the kernel tree (between 5.16.16 and 5.17.1) has revealed the following commit as apparently the first bad one:

```
[87ebbb8c612b1214f227ebb8f25442c6d163e802] ACPI: processor: idle: Only flush cache on entering C3
```

I believe this is likely distinct from https://bugzilla.kernel.org/show_bug.cgi?id=215768 since it still occurred with Always On USB disabled, and this is an issue with failing at resuming from suspend, not suspending in the first place.

I originally suspected https://bugzilla.kernel.org/show_bug.cgi?id=215742 but I now think it is probably distinct from that bug since I identified the ACPI commit above as the first bad one. This laptop does have an nvme drive, however, so it isn't 100% ruled out.

Relevant downstream bug report (Arch) with other users experiencing this (and potentially related) issues: https://bugs.archlinux.org/task/74285

If needed, let me know about other ways to try to collect data about the error and I can try to do so.
Comment 1 Lars Christensen 2022-04-04 16:03:09 UTC
A patch has been submitted to revert 87ebbb8c: https://lkml.org/lkml/2022/4/3/35
Comment 2 Mario Limonciello (AMD) 2022-10-31 00:55:11 UTC
Since that revert was accepted (https://github.com/torvalds/linux/commit/dfbba2518aac4204203b0697a894d3b2f80134d3) closing this issue.

Note You need to log in before you can comment on or make changes to this bug.