summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorHuang Ying2012-08-08 03:07:39 +0200
committerBjorn Helgaas2012-08-22 01:32:07 +0200
commitea8c88f13d9fb1d6b39a05bfa07ae076ca1c6803 (patch)
treeb063ab2cc5c779bf5f9ba7d92514dbfb04d64360 /drivers/pci/pci-sysfs.c
parentPCI/PM: Enable D3/D3cold by default for most devices (diff)
downloadkernel-qcow2-linux-ea8c88f13d9fb1d6b39a05bfa07ae076ca1c6803.tar.gz
kernel-qcow2-linux-ea8c88f13d9fb1d6b39a05bfa07ae076ca1c6803.tar.xz
kernel-qcow2-linux-ea8c88f13d9fb1d6b39a05bfa07ae076ca1c6803.zip
PCI/PM: Keep parent bridge active when probing device
This patch fixes the following bug: http://marc.info/?l=linux-pci&m=134329923124234&w=2 The root cause of the bug is as follow. If a device is not bound with the corresponding driver, the device runtime PM will be disabled and the device will be put into suspended state. So that, the bridge/PCIe port connected to it may be put into suspended and low power state. When do probing for the device later, because the bridge/PCIe port connected to it is in low power state, the IO access to device may fail. To solve the issue, the bridge/PCIe port connected to the device is put into active state before probing. Reported-by: Bjorn Mork <bjorn@mork.no> Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions