aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFrederic Barrat <[email protected]>2019-11-21 14:49:11 +0100
committerMichael Ellerman <[email protected]>2020-01-23 21:31:16 +1100
commitf724385fea0136af31a850fbcff01a6e8cf8c889 (patch)
tree2e255afeedd6194ac87bb3156cdd65f1cd7f34bc /tools/perf/scripts/python/export-to-postgresql.py
parentc1a2feade085fb4213e2823dabaa2401626843c8 (diff)
powerpc/powernv/ioda: Release opencapi device
With hotplug, an opencapi device can now go away. It needs to be released, mostly to clean up its PE state. We were previously not defining any device callback. We can reuse the standard PCI release callback, it does a bit too much for an opencapi device, but it's harmless, and only needs minor tuning. Also separate the undo of the PELT-V code in a separate function, it is not needed for NPU devices and it improves a bit the readability of the code. Signed-off-by: Frederic Barrat <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions