KVM: PPC: Book3S HV: add virtual mode handlers for HPT hcalls and page faults
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:48 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:15 +0000 (22:12 +1000)
commit6165d5dd99dbaec7a309491c3951bd81fc89978d
tree66d7d53527665ab09b42332f0dfa14d1960df49a
parenta9aa86e08b3a0b2c273cdb772283c872e55f14bf
KVM: PPC: Book3S HV: add virtual mode handlers for HPT hcalls and page faults

In order to support hash guests in the P9 path (which does not do real
mode hcalls or page fault handling), these real-mode hash specific
interrupts need to be implemented in virt mode.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-29-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_rm_mmu.c