From: Ben Guthro <benjamin.guthro@citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Jan Beulich <jbeulich@suse.com>,
"Rafaell J . Wysocki" <rjw@sisk.pl>,
<linux-kernel@vger.kernel.org>, <linux-acpi@vger.kernel.org>,
<xen-devel@lists.xen.org>
Cc: Ben Guthro <benjamin.guthro@citrix.com>,
Richard L Maliszewski <richard.l.maliszewski@intel.com>,
Gang Wei <gang.wei@intel.com>, Shane Wang <shane.wang@intel.com>,
Bob Moore <robert.moore@intel.com>,
<tboot-devel@lists.sourceforge.net>
Subject: [PATCH v3 0/3] Xen/ACPI: support sleep state entering on hardware reduced systems
Date: Wed, 26 Jun 2013 10:06:12 -0400 [thread overview]
Message-ID: <1372255575-29567-1-git-send-email-benjamin.guthro@citrix.com> (raw)
I have volunteered to take over the efforts of Jan Beulich in getting
this patch series upstreamed. His original submission text is below,
along with the v3 modifications.
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 boolean parameter to be added to the
hook function to distinguish "extended" from "legacy" 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 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: Ben Guthro <benjamin.guthro@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Richard L Maliszewski <richard.l.maliszewski@intel.com>
Cc: Gang Wei <gang.wei@intel.com>
Cc: Shane Wang <shane.wang@intel.com>
Cc: Bob Moore <robert.moore@intel.com>
Cc: Rafaell J. Wysocki <rjw@sisk.pl>
Cc: linux-acpi@vger.kernel.org
Cc: tboot-devel@lists.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
Ben Guthro (3):
acpi: Call acpi_os_prepare_sleep hook in reduced hardware 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 | 6 +++++-
drivers/acpi/acpica/hwesleep.c | 8 ++++++++
drivers/acpi/acpica/hwsleep.c | 2 +-
drivers/acpi/osl.c | 16 ++++++++--------
drivers/xen/acpi.c | 26 +++++++++++++-------------
include/linux/acpi.h | 10 +++++-----
include/xen/acpi.h | 4 ++--
include/xen/interface/platform.h | 7 ++++---
8 files changed, 46 insertions(+), 33 deletions(-)
--
1.7.9.5
next reply other threads:[~2013-06-26 14:06 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-26 14:06 Ben Guthro [this message]
2013-06-26 14:06 ` [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path Ben Guthro
2013-06-26 14:41 ` Jan Beulich
2013-06-26 15:03 ` Ben Guthro
2013-06-26 15:45 ` Jan Beulich
2013-06-26 18:59 ` Rafael J. Wysocki
2013-07-02 6:19 ` Zheng, Lv
2013-07-02 11:42 ` Ben Guthro
2013-07-24 6:24 ` Zheng, Lv
2013-07-24 12:01 ` Ben Guthro
2013-07-24 13:18 ` Moore, Robert
2013-07-24 13:23 ` Ben Guthro
2013-07-24 14:38 ` Moore, Robert
2013-07-24 15:14 ` Ben Guthro
2013-07-24 16:32 ` Konrad Rzeszutek Wilk
2013-07-25 1:28 ` Zheng, Lv
[not found] ` <CAOvdn6WZFu7TssoML3J9SPpqH_AKSi4cjvZ7Tb0zdBtq46QO0Q@mail.gmail.com>
2013-07-25 1:54 ` Zheng, Lv
2013-07-25 12:04 ` Konrad Rzeszutek Wilk
2013-07-26 2:51 ` Zheng, Lv
2013-07-26 18:03 ` konrad wilk
2013-07-29 2:22 ` Zheng, Lv
2013-07-25 1:01 ` Zheng, Lv
2013-07-25 1:19 ` Ben Guthro
2013-06-26 14:06 ` [PATCH v3 2/3] x86/tboot: Fail extended mode reduced hardware sleep Ben Guthro
2013-06-26 14:44 ` Jan Beulich
2013-06-26 14:55 ` Ben Guthro
2013-06-26 15:47 ` Jan Beulich
2013-06-26 14:06 ` [PATCH v3 3/3] xen/acpi: notify xen when reduced hardware sleep is available Ben Guthro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372255575-29567-1-git-send-email-benjamin.guthro@citrix.com \
--to=benjamin.guthro@citrix.com \
--cc=gang.wei@intel.com \
--cc=jbeulich@suse.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richard.l.maliszewski@intel.com \
--cc=rjw@sisk.pl \
--cc=robert.moore@intel.com \
--cc=shane.wang@intel.com \
--cc=tboot-devel@lists.sourceforge.net \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®