[tboot-devel] [PATCH] cleanups in ACPI - removing tboot_ calls for 3.4 (v1)

2012-01-17 Thread Konrad Rzeszutek Wilk
I am not really sure if these patches should go through the ACPI or x86 tree. I think they are more x86-ish related and earlier patches for tboot went through tip.. Thoughts? Theset two patches cleanup the ACPI code by removing the 'tboot_sleep' function call within the ACPI call and instead use a

[tboot-devel] [PATCH 2/2] tboot: Add return values for tboot_sleep

2012-01-17 Thread Konrad Rzeszutek Wilk
. as appropiately. As tboot_sleep now returns values. remove tboot_sleep_wrapper. Suggested-by: Rafael J. Wysocki Acked-by: Joseph Cihula [v1: Return -1/0/+1 instead of ACPI_xx values] Signed-off-by: Konrad Rzeszutek Wilk --- arch/x86/kernel/tboot.c | 13 - 1 files changed, 4 ins

[tboot-devel] [PATCH 1/2] x86, acpi, tboot: Have a ACPI os prepare sleep instead of calling tboot_sleep.

2012-01-17 Thread Konrad Rzeszutek Wilk
From: Tang Liang 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. Suggested-by: Rafael J. Wysocki CC: Len Brown Acked-by: Joseph Cihula [v1: Added __