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
. 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
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 __