Bug 215767

Summary: Lenovo Duet 7 immediately wakeup after suspend to idle
Product: ACPI Reporter: Nikita Shvets (nikitashvets)
Component: ACPICA-CoreAssignee: acpi_acpica-core (acpi_acpica-core)
Status: NEW ---    
Severity: normal CC: rui.zhang
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.17.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: Linux 5.17.1 s2idle dmesg
DSDT.dsl

Description Nikita Shvets 2022-03-28 22:21:50 UTC
Created attachment 300633 [details]
Linux 5.17.1 s2idle dmesg

Hello!

s2idle is default on Lenovo Duet 7. After suspend tablet immediately wakeup with following errors:

[  355.321916] ACPI: EC: interrupt blocked
[  355.372990] ACPI Error: Result stack is empty! State=0000000056c92f73 (20211217/dswstate-64)
[  355.373008] ACPI Error: AE_AML_NO_RETURN_VALUE, Missing or null operand (20211217/dsutils-609)
[  355.373015] ACPI Error: AE_AML_NO_RETURN_VALUE, While creating Arg 2 (20211217/dsutils-725)
[  355.373029] No Local Variables are initialized for Method [GUAM]
[  355.373033] Initialized Arguments for Method [GUAM]:  (1 arguments defined for method invocation)
[  355.373036]   Arg0:   00000000a1ed76cc <Obj>           Integer 0000000000000001
[  355.373055] ACPI Error: Aborting method \GUAM due to previous error (AE_AML_NO_RETURN_VALUE) (20211217/psparse-529)
[  355.373071] ACPI Error: Aborting method \_SB.PEPD._DSM due to previous error (AE_AML_NO_RETURN_VALUE) (20211217/psparse-529)
[  355.373093] ACPI: \_SB_.PEPD: failed to evaluate _DSM (0x3012)
[  363.213216] ACPI Error: Result stack is empty! State=0000000056c92f73 (20211217/dswstate-64)
[  363.213234] ACPI Error: AE_AML_NO_RETURN_VALUE, Missing or null operand (20211217/dsutils-609)
[  363.213241] ACPI Error: AE_AML_NO_RETURN_VALUE, While creating Arg 3 (20211217/dsutils-725)
[  363.213256] No Local Variables are initialized for Method [GUAM]
[  363.213261] Initialized Arguments for Method [GUAM]:  (1 arguments defined for method invocation)
[  363.213263]   Arg0:   00000000ae6d6183 <Obj>           Integer 0000000000000000
[  363.213281] ACPI Error: Aborting method \GUAM due to previous error (AE_AML_NO_RETURN_VALUE) (20211217/psparse-529)
[  363.213297] ACPI Error: Aborting method \_SB.PEPD._DSM due to previous error (AE_AML_NO_RETURN_VALUE) (20211217/psparse-529)
[  363.213319] ACPI: \_SB_.PEPD: failed to evaluate _DSM (0x3012)
[  363.216579] ACPI: EC: interrupt unblocked

After switch to Linux 5.16 and choosing deep sleep as default suspend and wakeup works fine.
Comment 1 Nikita Shvets 2022-03-28 22:26:06 UTC
Created attachment 300634 [details]
DSDT.dsl

BIOS version is ERCN28WW (29.12.2021)

There is newer BIOS, but the only difference (according to official changelog) is slightly newer microcode with fixes for CPU vulnerabilities.