ACPICA: Sleep/Wake interfaces: optionally execute _GTS and _BFS
authorLin Ming <ming.m.lin@intel.com>
Wed, 21 Mar 2012 02:01:49 +0000 (10:01 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 27 Mar 2012 01:16:25 +0000 (21:16 -0400)
commit8a73b17e4c0e09cb5b80deee5451e29b830df4cc
tree292f555ca2aa42b4b4d756aca01a53b65df60970
parent4acb6884b5568f19bd47173cba8bc1f2289d6baa
ACPICA: Sleep/Wake interfaces: optionally execute _GTS and _BFS

Enhanced the sleep/wake interfaces to optionally execute the
_GTS method (Going To Sleep), and the _BFS method (Back From
Sleep).  Windows apparently does not execute these methods, and
therefore these methods are often untested. It has been seen on
some systems where the execution of these methods causes errors
and also prevents the machine from entering S5. It is therefore
suggested that host operating systems do not execute these methods
by default. In the future, perhaps these methods can be optionally
executed based on the age of the system and/or what is the newest
version of Windows that the BIOS asks for via _OSI.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/achware.h
drivers/acpi/acpica/hwesleep.c
drivers/acpi/acpica/hwsleep.c
drivers/acpi/acpica/hwxfsleep.c
drivers/acpi/sleep.c
include/acpi/acpixf.h
include/acpi/actypes.h