This series of patches adds support for the new POWER8 processor in HV-mode KVM. The series is based on a merge of Alex Graf's for-3.13 tree into his kvm-ppc-queue tree, as there are some important bugfixes in the for-3.13 tree that touch code that these patches also touch. The last patch is actually for PR KVM rather than HV, but is needed when running PR KVM inside a HV guest on POWER8. These patches do not include support for H_SET_MODE. It is possible to implement H_SET_MODE in userspace by using the one_reg interface to set LPCR, CIABR or DAWR/X as appropriate. Ultimately we want to have an in-kernel H_SET_MODE implementation where userspace can ask for specific subfunctions to be handled by the kernel, but the details of the interface for userspace to do that are still being worked out. Please apply and push upstream for inclusion in 3.14. Thanks, Paul. Documentation/virtual/kvm/api.txt | 1 + arch/powerpc/Kconfig | 2 + arch/powerpc/include/asm/kvm_asm.h | 3 + arch/powerpc/include/asm/kvm_book3s_asm.h | 1 + arch/powerpc/include/asm/kvm_host.h | 47 +- arch/powerpc/include/asm/reg.h | 43 +- arch/powerpc/include/uapi/asm/kvm.h | 3 + arch/powerpc/include/uapi/asm/tm.h | 2 + arch/powerpc/kernel/asm-offsets.c | 41 +- arch/powerpc/kvm/book3s_64_mmu_hv.c | 9 +- arch/powerpc/kvm/book3s_hv.c | 368 ++++++++- arch/powerpc/kvm/book3s_hv_interrupts.S | 8 +- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 1194 +++++++++++++++++++---------- arch/powerpc/kvm/book3s_pr.c | 1 + arch/powerpc/kvm/book3s_segment.S | 2 + 15 files changed, 1252 insertions(+), 473 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html