summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/reg.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-08-11 19:00:37 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-25 09:37:17 +0300
commit4782e0cd0d184d727ad3b0cfe20d1d44d9f98239 (patch)
tree6f630ed0f4e178a1bf652bb3e7c93ab328ca9995 /arch/powerpc/include/asm/reg.h
parentdaac40e8d7a63ab8608132a7cfce411986feac32 (diff)
downloadlinux-4782e0cd0d184d727ad3b0cfe20d1d44d9f98239.tar.xz
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 <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210811160134.904987-4-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/include/asm/reg.h')
0 files changed, 0 insertions, 0 deletions