PCI/PM: add runtime PM support to PCIe port
authorZheng Yan <zheng.z.yan@intel.com>
Sat, 23 Jun 2012 02:23:49 +0000 (10:23 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 23 Jun 2012 16:47:47 +0000 (10:47 -0600)
commit71a83bd727cc31c5fe960c3758cb396267ff710e
treec4655a683b386c98d7c85bddd019e67711310c71
parentee85f543710dd56ce526cb44e39191f32972e5ad
PCI/PM: add runtime PM support to PCIe port

This patch adds runtime PM support to PCIe port.  This is needed by
PCIe D3cold support, where PCIe device without ACPI node may be
powered on/off by PCIe port.

Because runtime suspend is broken for some chipsets, a black list is
used to disable runtime PM support for these chipsets.

Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
drivers/pci/pcie/portdrv_pci.c