]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit768b4cf7fcb0d29db913fefa8b24d05569461138
tree292f555ca2aa42b4b4d756aca01a53b65df60970
parent5320564e411a799a0f9189b8f5a2a03a52d37b30
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