[PATCH 0/2] PM / sleep: Support for using suspend-to-idle by default

From: Rafael J. Wysocki
Date: Wed Nov 16 2016 - 21:21:50 EST


Hi,

This series is a follow-up for a BoF discussion during the LPC.

The discussion was about supporting Linux on modern laptops and one of
the issues mentioned was the lack of support for suspend-to-idle in user
space and if there's anything that can be done about that in the kernel.

The following patches are my input. :-)

The first one reworks the suspend interface to allow the "mem" string
in /sys/power/state to represent multiple things that can be selected via
an additional sysfs attribute.

The second one makes ACPI select suspend-to-idle as the default suspend mode
if so indicated in the FADT.

Please let me know what you think.

Thanks,
Rafael