Bug 216574
Summary: | Hybrid System Suspend broken HP EliteBook 845 G8 (a.k.a. Hybrid Sleep / s2both) (s2idle Notebook) | ||
---|---|---|---|
Product: | Drivers | Reporter: | kolAflash (kolAflash) |
Component: | Platform_x86 | Assignee: | drivers_platform_x86 (drivers_platform_x86) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | mario.limonciello |
Priority: | P1 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 6.0 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
kernel log for hybrid sleep with s2idle: v6.0
Possible solution |
Description
kolAflash
2022-10-13 01:11:50 UTC
Created attachment 302985 [details]
Possible solution
I glanced through the kernel code and it seems to me it's currently hardcoded to try to go into S3 instead of what the kernel is configured for (which may be s2idle).
See if this patch helps.
@Mario Your patch works like a charm :-) v6.0.1 with your patch solves the problem. Hybrid System Suspend works like intended. v6.0.1 is still broken. Do you need anything else from me to submit the patch to master? (and maybe to stable branches) I've submitted it as https://lore.kernel.org/linux-pm/20221013035017.5098-1-mario.limonciello@amd.com/T/#u . Fixed in 6.1-rc3 and also will trickle into stable kernels. https://github.com/torvalds/linux/commit/85850af4fc47132f3f2f0dd698b90f67906600b4 |