KVM: PPC: Book3S: Replace reset_msr mmu op with inject_interrupt arch op
authorNicholas Piggin <npiggin@gmail.com>
Wed, 2 Oct 2019 06:00:22 +0000 (16:00 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 22 Oct 2019 05:29:02 +0000 (16:29 +1100)
commit87a45e07a5abfec4d6b0e8356718f8919d0a3c20
tree7e05dd8b7b83f9fcc393199bcd4bfe4aecaf234c
parent9ee6471eb9d43114ba4f0de3e0f483bf6fb2a906
KVM: PPC: Book3S: Replace reset_msr mmu op with inject_interrupt arch op

reset_msr sets the MSR for interrupt injection, but it's cleaner and
more flexible to provide a single op to set both MSR and PC for the
interrupt.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_64_mmu.c
arch/powerpc/kvm/book3s_64_mmu_hv.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_pr.c