KVM: PPC: Fixes for PR and preparation for POWER8
Status from this message: Thanks, applied all (with minor cosmetic fixes) to kvm-ppc-queue.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | KVM: PPC: BookE: Add GET/SET_ONE_REG interface for VRSAVEarch/ | +6 | 0 replies | |
| 2/18 | KVM: PPC: Book3S HV: Store LPCR value for each virtual coreDocumentation/ arch/ arch/ +6 more | +75 | 0 replies | |
| 3/18 | KVM: PPC: Book3S HV: Add support for guest Program Priority RegisterDocumentation/ arch/ arch/ +5 more | +31 | 0 replies | |
| 4/18 | KVM: PPC: Book3S HV: Support POWER6 compatibility mode on POWER7Documentation/ arch/ arch/ +4 more | +67 | 2 replies | |
| 5/18 | KVM: PPC: Book3S HV: Don't crash host on unknown guest interruptarch/ | +1 | 0 replies | |
| 6/18 | KVM: PPC: Book3S PR: Fix compilation without CONFIG_ALTIVECarch/ | +2 | 0 replies | |
| 7/18 | KVM: PPC: Book3S PR: Keep volatile reg values in vcpu rather than shadow_vcpuarch/ arch/ arch/ +6 more | +162 | 0 replies | |
| 8/18 | KVM: PPC: Book3S PR: Allow guest to use 64k pagesarch/ arch/ arch/ +3 more | +197 | 0 replies | |
| 9/18 | KVM: PPC: Book3S PR: Use 64k host pages where possiblearch/ arch/ arch/ +2 more | +57 | 0 replies | |
| 10/18 | KVM: PPC: Book3S PR: Handle PP0 page-protection bit in guest HPTEsarch/ | +3 | 0 replies | |
| 11/18 | KVM: PPC: Book3S PR: Correct errors in H_ENTER implementationarch/ | +14 | 0 replies | |
| 12/18 | KVM: PPC: Book3S PR: Make HPT accesses and updates SMP-safearch/ arch/ arch/ +2 more | +72 | 0 replies | |
| 13/18 | KVM: PPC: Book3S PR: Allocate kvm_vcpu structs from kvm_vcpu_cachearch/ arch/ arch/ +3 more | +38 | 0 replies | |
| 14/18 | KVM: PPC: Book3S: Move skip-interrupt handlers to common codearch/ arch/ arch/ | +26 | 0 replies | |
| 15/18 | KVM: PPC: Book3S PR: Better handling of host-side read-only pagesarch/ arch/ arch/ +6 more | +91 | 0 replies | |
| 16/18 | KVM: PPC: Book3S PR: Use mmu_notifier_retry() in kvmppc_mmu_map_page()arch/ arch/ arch/ | +39 | 0 replies | |
| 17/18 | KVM: PPC: Book3S PR: Mark pages accessed, and dirty if being writtenarch/ | +15 | 0 replies | |
| 18/18 | KVM: PPC: Book3S PR: Reduce number of shadow PTEs invalidated by MMU notifiersarch/ | +32 | 0 replies |
Reviews trailers per patch
1 of 18 patches has a Reviewed-by or Acked-by.
| Patch | Benjamin Herrenschmidt |
|---|---|
| 1/18 | |
| 2/18 | |
| 3/18 | A-b |
| 4/18 | |
| 5/18 | |
| 6/18 | |
| 7/18 | |
| 8/18 | |
| 9/18 | |
| 10/18 | |
| 11/18 | |
| 12/18 | |
| 13/18 | |
| 14/18 | |
| 15/18 | |
| 16/18 | |
| 17/18 | |
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/18] KVM: PPC: Fixes for PR and preparation for POWER8
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(-)