]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI/PM: Disable runtime PM of PCIe ports
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 30 Mar 2013 22:38:02 +0000 (23:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Apr 2013 16:52:07 +0000 (09:52 -0700)
commit88ce31a5f4f65242315cea3e48b8eea1ef114429
tree881e9717a6554db8abb7d9838ead793b25f205a8
parent429e8ae2f2c8d67b1c7ada215aae2c849b5e48bf
PCI/PM: Disable runtime PM of PCIe ports

commit de7d5f729c72638f41d7c17487bccb1c570ff144 upstream.

The runtime PM of PCIe ports turns out to be quite fragile, as in
some cases things work while in some other cases they don't and we
don't seem to have a good way to determine whether or not they are
going to work in advance.

For this reason, avoid enabling runtime PM for PCIe ports by
keeping their runtime PM reference counters always above 0 for the
time being.

When a PCIe port is suspended, it can no longer report events like
hotplug, so hotplug below the port may not work, as in the bug
report below.

[bhelgaas: changelog, stable]
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=53811
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pcie/portdrv_pci.c