summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/configs/be.config
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-08-11 18:00:38 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-25 08:37:17 +0200
commitd82b392d9b3556b63e3f9916cf057ea847e173a9 (patch)
treefea730012a8d023806cf1abe07e622f4a12b94d5 /arch/powerpc/configs/be.config
parentKVM: PPC: Book3S HV P9: Fixes for TM softpatch interrupt NIP (diff)
downloadlinux-d82b392d9b3556b63e3f9916cf057ea847e173a9.tar.xz
linux-d82b392d9b3556b63e3f9916cf057ea847e173a9.zip
KVM: PPC: Book3S HV Nested: Fix TM softpatch HFAC interrupt emulation
Have the TM softpatch emulation code set up the HFAC interrupt and return -1 in case an instruction was executed with HFSCR bits clear, and have the interrupt exit handler fall through to the HFAC handler. When the L0 is running a nested guest, this ensures the HFAC interrupt is correctly passed up to the L1. The "direct guest" exit handler will turn these into PROGILL program interrupts so functionality in practice will be unchanged. But it's possible an L1 would want to handle these in a different way. Also rearrange the FAC interrupt emulation code to match the HFAC format while here (mainly, adding the FSCR_INTR_CAUSE mask). 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-5-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/configs/be.config')
0 files changed, 0 insertions, 0 deletions