]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3945bcce94580ade85b1538647b88a608a0519d
treead2428e403a0d76f2327a1c0afccd12a6820e661
parent92a1cfbc55caf4523017606aca90f8b2fb98db51
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