diff options
author | Nicholas Piggin <[email protected]> | 2021-08-12 02:00:37 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-08-25 16:37:17 +1000 |
commit | 4782e0cd0d184d727ad3b0cfe20d1d44d9f98239 (patch) | |
tree | 6f630ed0f4e178a1bf652bb3e7c93ab328ca9995 /lib/test_overflow.c | |
parent | daac40e8d7a63ab8608132a7cfce411986feac32 (diff) |
KVM: PPC: Book3S HV P9: Fixes for TM softpatch interrupt NIP
The softpatch interrupt sets HSRR0 to the faulting instruction +4, so
it should subtract 4 for the faulting instruction address in the case
it is a TM softpatch interrupt (the instruction was not executed) and
it was not emulated.
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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions