lkml.org 
[lkml]   [2012]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -v2] ACPI, PM, Specify lowest allowed state for device sleep state
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



\
 
 \ /
  Last update: 2012-06-02 01:41    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site