aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/reg.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-08-12 02:00:37 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-25 16:37:17 +1000
commit4782e0cd0d184d727ad3b0cfe20d1d44d9f98239 (patch)
tree6f630ed0f4e178a1bf652bb3e7c93ab328ca9995 /arch/powerpc/include/asm/reg.h
parentKVM: PPC: Book3S HV: Remove TM emulation from POWER7/8 path (diff)
downloadlinux-dev-4782e0cd0d184d727ad3b0cfe20d1d44d9f98239.tar.xz
linux-dev-4782e0cd0d184d727ad3b0cfe20d1d44d9f98239.zip
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