]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPI: PM: s2idle: Add acpi.sleep_no_lps0 module parameter
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Jul 2019 09:05:25 +0000 (11:05 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Aug 2019 09:25:22 +0000 (11:25 +0200)
commit068b47d0984b8756ae71702a1a87aa226cb72fe8
tree9b7d5c11019fa81a10659e69320db131c4cb288c
parent2e2c2fdc53437beffd2cf26aaf6187e602d565bc
ACPI: PM: s2idle: Add acpi.sleep_no_lps0 module parameter

Add a module parameter to prevent the ACPI LPS0 _DSM functions
from being invoked (if need be) and rework the suspend-to-idle
blacklist entries in acpisleep_dmi_table[] to make them simply
prevent suspend-to-idle from being used by default on the systems
in question (which really is the original purpose of those entries).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
drivers/acpi/sleep.c