]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86, acpi, tboot: Have a ACPI sleep override instead of calling tboot_sleep.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 28 Sep 2011 03:18:04 +0000 (11:18 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 17:07:36 +0000 (13:07 -0400)
commit99c16550ea0fbf03e6df85d70966ab34a46593d2
tree34a3fb1feaff9a43e5fb0b90217f2eee8f5b06de
parentf5de63fb6f7a9d8b086ef3ec349d4dc9bc932dcf
x86, acpi, tboot: Have a ACPI sleep override instead of calling tboot_sleep.

The ACPI suspend path makes a call to tboot_sleep right before
it writes the PM1A, PM1B values. We replace the direct call to
tboot via an registration callback similar to __acpi_register_gsi.

CC: Thomas Gleixner <tglx@linutronix.de>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: x86@kernel.org
CC: Len Brown <len.brown@intel.com>
CC: Joseph Cihula <joseph.cihula@intel.com>
CC: Shane Wang <shane.wang@intel.com>
CC: xen-devel@lists.xensource.com
CC: linux-pm@lists.linux-foundation.org
CC: tboot-devel@lists.sourceforge.net
CC: linux-acpi@vger.kernel.org
[v1: Added __attribute__ ((unused))]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/acpi.h
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/tboot.c
drivers/acpi/acpica/hwsleep.c
include/linux/tboot.h