[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375118055-15942-1-git-send-email-benjamin.guthro@citrix.com>
Date: Mon, 29 Jul 2013 13:14:12 -0400
From: Ben Guthro <benjamin.guthro@...rix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Jan Beulich <jbeulich@...e.com>,
"Rafael J . Wysocki" <rjw@...k.pl>, <linux-kernel@...r.kernel.org>,
<linux-acpi@...r.kernel.org>, <xen-devel@...ts.xen.org>
CC: Ben Guthro <benjamin.guthro@...rix.com>,
Richard L Maliszewski <richard.l.maliszewski@...el.com>,
Gang Wei <gang.wei@...el.com>,
Shane Wang <shane.wang@...el.com>,
Bob Moore <robert.moore@...el.com>,
<tboot-devel@...ts.sourceforge.net>
Subject: [PATCH v7 0/3] Xen/ACPI: support sleep state entering on hardware reduced systems
In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with
reduced hardware sleep support, and the two changes didn't get
synchronized: The new code doesn't call the hook function (if so
requested). Fix this, requiring a new callback to be added to acpica
to be called back during this reduced hardware sleep.
This requires adjusting TXT, but the adjustments only go as far as
failing the extended mode call (since, looking at the TXT interface,
there doesn't even appear to be precautions to deal with that
alternative interface).
The xen hypervisor change underlying this is commit 62d1a69 ("ACPI: support
v5 (reduced HW) sleep interface") on the master branch of
git://xenbits.xen.org/xen.git.
Signed-off-by: Jan Beulich <jbeulich@...e.com>
Signed-off-by: Ben Guthro <benjamin.guthro@...rix.com>
Cc: Richard L Maliszewski <richard.l.maliszewski@...el.com>
Cc: Gang Wei <gang.wei@...el.com>
Cc: Shane Wang <shane.wang@...el.com>
Cc: Bob Moore <robert.moore@...el.com>
Cc: Rafael J. Wysocki <rjw@...k.pl>
Cc: linux-acpi@...r.kernel.org
Cc: tboot-devel@...ts.sourceforge.net
v2: Extend description to include reference to hypervisor side change
v3: Split into multiple patches, separating subsystems
Remove bool parameters, in favor of u8
v4: Remove linux/acpi.h dependencies
Further patch split to break out acpica from OSL
More bool vs u8 fixes
v5: Fix build of consumers of acpi_os_prepare_sleep() interface change,
so intermediate builds of partial patch series will not fail.
v6: Rebased to linux-pm linux-next branch
Added warning in tboot early return code
Added Reviewed-by lines
v7: Add separate acpi_os_prepare_extended_sleep() interface
Remove OSL acpica changes introduced in v4
Ben Guthro (3):
x86/acpi: Introduce acpi_os_prepare_extended_sleep callback for
extended sleep path
x86/tboot: Fail extended mode reduced hardware sleep
xen/acpi: notify xen when reduced hardware sleep is available
arch/x86/kernel/tboot.c | 12 +++++++++++
drivers/acpi/acpica/hwesleep.c | 9 +++++++++
drivers/acpi/osl.c | 24 ++++++++++++++++++++++
drivers/xen/acpi.c | 41 ++++++++++++++++++++++++++------------
include/linux/acpi.h | 7 +++++++
include/xen/acpi.h | 8 ++++++--
include/xen/interface/platform.h | 7 ++++---
7 files changed, 90 insertions(+), 18 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists