From: Len Brown <lenb@kernel.org>
To: Huang Ying <ying.huang@intel.com>
Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
linux-acpi@vger.kernel.org
Subject: Re: [PATCH -v2] ACPI, PM, Specify lowest allowed state for device sleep state
Date: Fri, 01 Jun 2012 19:12:23 -0400 [thread overview]
Message-ID: <4FC94C57.8000604@kernel.org> (raw)
In-Reply-To: <1337305544-10393-1-git-send-email-ying.huang@intel.com>
On 05/17/2012 09:45 PM, Huang Ying wrote:
> Lower device sleep state can save more power, but has more exit
> latency too. Sometimes, to satisfy some power QoS and other
> requirement, we need to constrain the lowest device sleep state.
>
> In this patch, a parameter to specify lowest allowed state for
> acpi_pm_device_sleep_state is added. So that the caller can enforce
> the constraint via the parameter.
>
> This is needed by PCIe D3cold support, where the lowest power state
> allowed may be D3_HOT instead of default D3_COLD.
>
> Changelog:
>
> v2:
> - Minor change per Rafeal's comments
>
> Signed-off-by: Huang Ying <ying.huang@intel.com>
> ---
> drivers/acpi/sleep.c | 24 +++++++++++++++++++-----
> drivers/pci/pci-acpi.c | 3 ++-
> drivers/pnp/pnpacpi/core.c | 4 ++--
> include/acpi/acpi_bus.h | 6 +++---
> 4 files changed, 26 insertions(+), 11 deletions(-)
Applied.
thanks,
Len Brown, Intel Open Source Technology Center
prev parent reply other threads:[~2012-06-01 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 1:45 [PATCH -v2] ACPI, PM, Specify lowest allowed state for device sleep state Huang Ying
2012-06-01 23:12 ` Len Brown [this message]
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=4FC94C57.8000604@kernel.org \
--to=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=ying.huang@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.