From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: linux-kernel@vger.kernel.org, lenb@kernel.org,
linux-acpi@vger.kernel.org, ming.m.lin@intel.com, hpa@zytor.com,
rjw@sisk.pl, x86@kernel.org
Subject: [PATCH] gts and bfs fixes (v3).
Date: Tue, 17 Apr 2012 14:29:17 -0400 [thread overview]
Message-ID: <1334687359-9970-1-git-send-email-konrad.wilk@oracle.com> (raw)
Since v2 [https://lkml.org/lkml/2012/4/9/474]
- ditched the assembler version and used a C wrapper
With git commit a2ef5c4fd44ce3922435139393b89f2cce47f576
"ACPI: Move module parameter gts and bfs to sleep.c" the
sampling of gts/bfs module parameters flag by acpi_enter_sleep_state
has been moved. It has been moved out of the inner ACPI code and
out in the more x86 specific. This means that any caller of
the exported acpi_enter_sleep_state function needs to provide
two parameters now: sleep state and the bit flag whether to us _GTS|_BFS.
All of the callers of acpi_enter_sleep_state did that, with
the exception of the assembler version and as well any
third-party callers of acpi_enter_sleep_state.
These two patches expose 'wake_sleep_flags' as the product
of the gts/bfs module parameter invocation. And also use said
flag in the assembler 'do_suspend_lowlevel()' function.
Konrad Rzeszutek Wilk (2):
ACPI: Convert wake_sleep_flags to a value instead of function (v4)
x86/acpi: Call acpi_enter_sleep_state via an asmlinkage C function from assembler.
arch/x86/kernel/acpi/sleep.c | 4 +++
arch/x86/kernel/acpi/sleep.h | 4 +++
arch/x86/kernel/acpi/wakeup_32.S | 3 +-
arch/x86/kernel/acpi/wakeup_64.S | 3 +-
drivers/acpi/sleep.c | 52 ++++++++++++++++++++-----------------
5 files changed, 38 insertions(+), 28 deletions(-)
next reply other threads:[~2012-04-17 18:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 18:29 Konrad Rzeszutek Wilk [this message]
2012-04-17 18:29 ` [PATCH 1/2] ACPI: Convert wake_sleep_flags to a value instead of function (v4) Konrad Rzeszutek Wilk
2012-04-17 18:29 ` [PATCH 2/2] x86/acpi: Call acpi_enter_sleep_state via an asmlinkage C function from assembler Konrad Rzeszutek Wilk
2012-04-17 18:36 ` H. Peter Anvin
2012-05-08 6:31 ` [PATCH] gts and bfs fixes (v3) Len Brown
2012-05-08 21:38 ` Rafael J. Wysocki
2012-05-08 21:53 ` Moore, Robert
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=1334687359-9970-1-git-send-email-konrad.wilk@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=hpa@zytor.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ming.m.lin@intel.com \
--cc=rjw@sisk.pl \
--cc=x86@kernel.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;
as well as URLs for NNTP newsgroup(s).