summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-08-14 17:47:52 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-19 13:20:24 +1000
commitc3e0dbd7f780a58c4695f1cd8fc8afde80376737 (patch)
tree6aad0dbf1ae834c3b4f25ec6891b3e4d4966fbf8 /virt
parent201ed7f327a17577debec52c33786d4b3259d0dc (diff)
downloadlinux-stable-c3e0dbd7f780a58c4695f1cd8fc8afde80376737.tar.gz
linux-stable-c3e0dbd7f780a58c4695f1cd8fc8afde80376737.tar.bz2
linux-stable-c3e0dbd7f780a58c4695f1cd8fc8afde80376737.zip
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 <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190814154754.23682-2-clg@kaod.org
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions