Messages in this thread | | | Date | Fri, 01 Jun 2012 19:12:23 -0400 | From | Len Brown <> | 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@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
| |