]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ACPI: Notify PCI devices when their power resource is turned on
authorHuang Ying <ying.huang@intel.com>
Wed, 7 Nov 2012 00:57:59 +0000 (08:57 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 13 Nov 2012 18:49:36 +0000 (11:49 -0700)
commit935c0a23093a26118e02f698d6bef2189f7f7eba
tree5c520581937e9f4257afa67d13c49dce626a7461
parentef0c39be80d9952604f8fca5cf008962f98e2f13
PCI/ACPI: Notify PCI devices when their power resource is turned on

This patch reduces power consumption by allowing idle devices to go to a
low power state after another device on the same power resource has been
awakened.

A power resource may be shared by multiple devices.  When all devices
sharing a power resource are put into D3_COLD state, the power resource
will be turned off.  When one of the devices is awakened, the power
resource will be turned on and all devices sharing it will be powered on to
D0uninitialized state.  These devices should be resumed, so that they have
the opportunity to go to low power state later.

[bhelgaas: changelog]
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/pci_bind.c