diff options
author | 2013-01-31 16:29:25 -0700 | |
---|---|---|
committer | 2013-02-01 15:18:19 -0700 | |
commit | 84fb913c43475e0d1e061220ef4622e3e82e91d6 (patch) | |
tree | 0b39d29400055705017a38e14db85bfe1d1aa823 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.8-rc2 (diff) | |
download | linux-dev-84fb913c43475e0d1e061220ef4622e3e82e91d6.tar.xz linux-dev-84fb913c43475e0d1e061220ef4622e3e82e91d6.zip |
PCI/ASPM: Deallocate upstream link state even if device is not PCIe
On PCI bus hotplug removal, pcie_aspm_exit_link_state() can potentially
skip parent devices that have link_state allocated. Instead of exiting
early if a given device is not PCIe, check whether or not the device's
parent has link_state allocated. This enables pcie_aspm_exit_link_state()
to properly clean up parent link_state when the last function in a slot
might not be PCIe.
Reported-by: Joe Lawrence <joe.lawrence@stratus.com>
Tested-by: Joe Lawrence <joe.lawrence@stratus.com>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions