[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FC94C57.8000604@kernel.org>
Date: Fri, 01 Jun 2012 19:12:23 -0400
From: Len Brown <lenb@...nel.org>
To: Huang Ying <ying.huang@...el.com>
CC: linux-kernel@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>,
linux-acpi@...r.kernel.org
Subject: Re: [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@...el.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
--
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