From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: [PATCH 00/18] KVM: PPC: Fixes for PR and preparation for POWER8 Date: Fri, 20 Sep 2013 14:52:36 +1000 Message-ID: <1379652774-10106-1-git-send-email-paulus@samba.org> Cc: kvm@vger.kernel.org To: Alexander Graf , kvm-ppc@vger.kernel.org Return-path: Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org This patch series contains updated versions of patches that have been posted before, plus one new compilation fix (for PR KVM without CONFIG_ALTIVEC), plus a patch to allow the guest VRSAVE register to be accessed with the ONE_REG interface on Book E. The first few patches are preparation for POWER8 support. Following that there are several patches that improve PR KVM's MMU emulation and prepare for being able to compile both HV and PR KVM in the one kernel. The series stops short of allowing them to coexist, though, since the details of how that should best be done are still being discussed. Please apply. Paul. --- Documentation/virtual/kvm/api.txt | 3 + arch/powerpc/include/asm/exception-64s.h | 8 + arch/powerpc/include/asm/kvm_asm.h | 2 + arch/powerpc/include/asm/kvm_book3s.h | 246 ++++++-------------------- arch/powerpc/include/asm/kvm_book3s_32.h | 2 +- arch/powerpc/include/asm/kvm_book3s_asm.h | 7 +- arch/powerpc/include/asm/kvm_host.h | 22 ++- arch/powerpc/include/asm/reg.h | 14 ++ arch/powerpc/include/uapi/asm/kvm.h | 5 + arch/powerpc/kernel/asm-offsets.c | 8 +- arch/powerpc/kernel/exceptions-64s.S | 26 +++ arch/powerpc/kvm/book3s.c | 15 +- arch/powerpc/kvm/book3s_32_mmu.c | 73 ++++---- arch/powerpc/kvm/book3s_32_mmu_host.c | 14 +- arch/powerpc/kvm/book3s_64_mmu.c | 181 +++++++++++++++---- arch/powerpc/kvm/book3s_64_mmu_host.c | 102 ++++++++--- arch/powerpc/kvm/book3s_64_mmu_hv.c | 7 +- arch/powerpc/kvm/book3s_emulate.c | 8 +- arch/powerpc/kvm/book3s_hv.c | 116 ++++++++++-- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 57 +++--- arch/powerpc/kvm/book3s_interrupts.S | 27 ++- arch/powerpc/kvm/book3s_mmu_hpte.c | 64 ++++++- arch/powerpc/kvm/book3s_pr.c | 282 +++++++++++++++++++++++------- arch/powerpc/kvm/book3s_pr_papr.c | 52 ++++-- arch/powerpc/kvm/book3s_rmhandlers.S | 32 +--- arch/powerpc/kvm/booke.c | 6 + arch/powerpc/kvm/trace.h | 7 +- 27 files changed, 920 insertions(+), 466 deletions(-)