aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2019-08-02 20:56:28 +1000
committerMichael Ellerman <[email protected]>2019-08-30 10:32:34 +1000
commit19dbe673e62b076f00ae2841fcf5898b4728d5ab (patch)
tree490eabac13302ffffab8ca09eb5228a07f869d82 /tools/perf/scripts/python
parent1039f62431e2aa16487cd6d64bc841d71f6465b8 (diff)
powerpc/64s/exception: machine check fix KVM guest test
The machine_check_handle_early hypervisor guest test is skipped if !HVMODE or MSR[HV]=0, which is wrong for PR or nested hypervisors that could be running a guest in this state. Test HSTATE_IN_GUEST up front and use that to branch out to the KVM handler, then MSR[PR] alone can test for this kernel's userspace. This matches all other interrupt handling. Signed-off-by: Nicholas Piggin <[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