Rafael, unfortunately, commit eed4d47efe95 (ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle) breaks suspend-to-mem on my Dell XPS 13 (9343) up to v4.12-rc4: Issuing $ echo "mem" > /sys/power/state in the initramfs returns, after a while, with "write error: Resource busy", and the system *not* having entered the sleep state in between. In contrast thereto, 8a537ece3d94 (PM / wakeup: Integrate mechanism to abort transitions in progress) still works fine, and allows to enter suspend-to-mem. No real difference is to be seen in dmesg, with the notable exception of ACPI: Low-level resume complete ACPI : EC: EC started PM: Restoring platform NVS memory Suspended for N.NNNN seconds only showing up on working kernels. Reverting eed4d47efe95 on top of v4.12-rc4 restores suspend-to-mem to work as expected. Best, Dominik
Attachment:
signature.asc
Description: PGP signature