aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCédric Le Goater <[email protected]>2019-08-14 17:47:52 +0200
committerMichael Ellerman <[email protected]>2019-08-19 13:20:24 +1000
commitc3e0dbd7f780a58c4695f1cd8fc8afde80376737 (patch)
tree6aad0dbf1ae834c3b4f25ec6891b3e4d4966fbf8 /tools/perf/scripts/python
parent201ed7f327a17577debec52c33786d4b3259d0dc (diff)
powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
Currently, the xmon 'dx' command calls OPAL to dump the XIVE state in the OPAL logs and also outputs some of the fields of the internal XIVE structures in Linux. The OPAL calls can only be done on baremetal (PowerNV) and they crash a pseries machine. Fix by checking the hypervisor feature of the CPU. Signed-off-by: Cédric Le Goater <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions