aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2017-03-09 18:46:15 -0800
committerBjorn Helgaas <[email protected]>2017-04-21 10:54:35 -0500
commit073d3dbe9a7c38888d8dafe09df421b174a6cffa (patch)
treea5d31cfbe63c905a5954096b887e70f631a9a2f7 /tools/perf/scripts/python/export-to-postgresql.py
parent64d6ea602ce619633a6e0af979e2c73738f6aeba (diff)
PCI: rockchip: Add remove() support
Currently, if we try to unbind the platform device, the remove will succeed, but the removal won't undo most of the registration, leaving partially-configured PCI devices in the system. This allows, for example, a simple 'lspci' to crash the system, as it will try to touch the freed (via devm_*) driver structures, e.g., on RK3399: # echo f8000000.pcie > /sys/bus/platform/drivers/rockchip-pcie/unbind # lspci So let's implement device remove(). Signed-off-by: Brian Norris <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Shawn Lin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions