aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorBenjamin Gray <[email protected]>2023-06-19 17:36:25 +1000
committerMichael Ellerman <[email protected]>2023-06-19 17:36:26 +1000
commit5bcba4e6c13f0c889da1f9e67ee10accd9ca4c19 (patch)
treeda6844eb74b2f2a374adf652893f3b6b56f5e952 /tools/perf/scripts/python/check-perf-trace.py
parent0ffd60b782ed79349baf28dd3259c872f39274e9 (diff)
powerpc/dexcr: Handle hashchk exception
Recognise and pass the appropriate signal to the user program when a hashchk instruction triggers. This is independent of allowing configuration of DEXCR[NPHIE], as a hypervisor can enforce this aspect regardless of the kernel. The signal mirrors how ARM reports their similar check failure. For example, their FPAC handler in arch/arm64/kernel/traps.c do_el0_fpac() does this. When we fail to read the instruction that caused the fault we send a segfault, similar to how emulate_math() does it. Signed-off-by: Benjamin Gray <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions