KVM: PPC: e500: SPE and MMU
v3 cover KVM: PPC: e500: SPE and MMU
This patchset contains SPE state management for e500 KVM guests, as well as MMU enhancements (performance, userspace visibility, and support for mapping things that aren't standard kernel-managed pages).
They are combined into one patchset because they both touch the MSR update code.
v3: rebase, and minor fixes in patches 4, 9, and 11.
Liu Yu (2):
KVM: PPC: e500: Stop keeping shadow TLB
KVM: PPC: e500: Add shadow PID support
Scott Wood (10):
powerpc/e500: SPE register saving: take arbitrary struct offset
KVM: PPC: booke: use shadow_msr
KVM: PPC: e500: Save/restore SPE state
KVM: PPC: e500: Disable preloading TLB1 in tlb_load().
KVM: PPC: e500: don't use MAS0 as intermediate storage.
KVM: PPC: e500: Eliminate shadow_pages[], and use pfns instead.
KVM: PPC: e500: Support large page mappings of PFNMAP vmas.
KVM: PPC: e500: enable magic page
KVM: PPC: e500: Don't search over the entire TLB0.
KVM: PPC: e500: MMU API
yu liu (1):
powerpc/e500: Save SPEFCSR in flush_spe_to_thread()
Documentation/virtual/kvm/api.txt | 84 +++- Documentation/virtual/kvm/ppc-pv.txt | 8 +- arch/powerpc/include/asm/kvm.h | 35 ++ arch/powerpc/include/asm/kvm_e500.h | 47 +- arch/powerpc/include/asm/kvm_host.h | 9 +- arch/powerpc/include/asm/kvm_ppc.h | 8 + arch/powerpc/include/asm/ppc_asm.h | 28 +- arch/powerpc/include/asm/reg_booke.h | 1 + arch/powerpc/kernel/asm-offsets.c | 10 +- arch/powerpc/kernel/head_fsl_booke.S | 8 +- arch/powerpc/kernel/process.c | 1 + arch/powerpc/kernel/traps.c | 5 +- arch/powerpc/kvm/44x_tlb.c | 4 +- arch/powerpc/kvm/booke.c | 99 +++- arch/powerpc/kvm/booke.h | 23 +- arch/powerpc/kvm/booke_interrupts.S | 66 ++- arch/powerpc/kvm/e500.c | 12 +- arch/powerpc/kvm/e500_emulate.c | 16 +- arch/powerpc/kvm/e500_tlb.c | 1082 +++++++++++++++++++++++++--------- arch/powerpc/kvm/e500_tlb.h | 68 +-- arch/powerpc/kvm/powerpc.c | 31 +- include/linux/kvm.h | 19 + 22 files changed, 1252 insertions(+), 412 deletions(-)
Signature · 1 line
1.7.4.1