This applies on top of these series: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=238649 https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=238941 https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=238946 This was broken out from the large Cify series. Since that was last posted, changes are: - Rebase, reordering of patches, tweaking changelog and comments. - Changed P9 radix exist SLB sanitising to use 4x slbmte to clear rather than 8x slbmfee/slbmfev, which turns out to be faster (and is what today's asm code does) [from review from Paul]. - Renamed book3s_hv_interrupt.c to book3s_hv_p9_entry.c, which reduces confusion with book3s_hv_interrupts.S. - Fixed !HV compile [Alexey]. Nicholas Piggin (4): KVM: PPC: Book3S HV P9: Move xive vcpu context management into kvmhv_p9_guest_entry KVM: PPC: Book3S HV P9: Move radix MMU switching instructions together KVM: PPC: Book3S HV P9: Stop handling hcalls in real-mode in the P9 path KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C arch/powerpc/include/asm/asm-prototypes.h | 3 +- arch/powerpc/include/asm/kvm_asm.h | 1 + arch/powerpc/include/asm/kvm_book3s_64.h | 8 + arch/powerpc/include/asm/kvm_host.h | 7 +- arch/powerpc/include/asm/kvm_ppc.h | 6 + arch/powerpc/kernel/security.c | 5 +- arch/powerpc/kvm/Makefile | 1 + arch/powerpc/kvm/book3s.c | 6 + arch/powerpc/kvm/book3s_64_entry.S | 254 ++++++++++++++++++++++ arch/powerpc/kvm/book3s_hv.c | 155 +++++++++---- arch/powerpc/kvm/book3s_hv_p9_entry.c | 207 ++++++++++++++++++ arch/powerpc/kvm/book3s_hv_rmhandlers.S | 120 +--------- arch/powerpc/kvm/book3s_xive.c | 64 ++++++ 13 files changed, 683 insertions(+), 154 deletions(-) create mode 100644 arch/powerpc/kvm/book3s_hv_p9_entry.c -- 2.23.0