]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/acpi/sleep.c
ACPI: delete _GTS/_BFS support
authorLen Brown <len.brown@intel.com>
Fri, 27 Jul 2012 00:08:54 +0000 (20:08 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 31 Jul 2012 01:11:25 +0000 (21:11 -0400)
commit3f6f49c7854c9294119437a82c5b35be78f9cea6
treead2428e403a0d76f2327a1c0afccd12a6820e661
parent3b6961ba8c682cc71e51079017743c1b282fd259
ACPI: delete _GTS/_BFS support

_GTS and _BFS were added to the suspend/resume flow
in the ACPI 2.0 specification.

Linux dutifully implemented _GTS and _BFS.
We discovered that it was rarely seen in systems
in the field.  Further, some of those systems had
AML so bogus that it could never work -- proof that
no other operating system supports _GTS and _BFS.
So we made _GTS and _BFS optional via modparam,
and disabled them by default.

But we've had to complicate some code to keep
this support in the kernel, as these methods are defined
to be evaluated very close to sleep entry and exit.
Indeed, no other AML is ever evaluated with interrupts off.

We have submitted a proposal for _GTS and _BFS
to be officially removed from the ACPI specification
on the next revision.  Here we remove it from Linux.

Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.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