[PATCH 00/13] KVM: PPC: Support POWER9 guests

Paul Mackerras paulus at ozlabs.org
Fri Nov 18 18:28:29 AEDT 2016


This series of patches adds support to HV KVM for running KVM guests
on POWER9 systems.  This allows us to run KVM guests that use HPT
(hashed page table) address translation and know about the POWER9
processor.  With this, Suraj Jitindar Singh's recent patch series
"powerpc: add support for ISA v2.07 compat level" and suitable changes
to the user-mode driver will allow us to run guests on POWER9 in
POWER8 (or POWER7) compatibility mode.

For now we require the host to be in HPT mode (not radix).

This series of patches is based on v4.9-rc4 plus my patch "powerpc/64:
Simplify adaptation to new ISA v3.00 HPTE format" and Yongji Xie's
two-patch series "KVM: PPC: Book3S HV: Optimize for MMIO emulation".

Paul.
---
 Documentation/virtual/kvm/api.txt              |   2 +
 arch/powerpc/include/asm/kvm_host.h            |   3 +
 arch/powerpc/include/asm/kvm_ppc.h             |   7 +-
 arch/powerpc/include/asm/mmu.h                 |   5 +
 arch/powerpc/include/asm/opal.h                |   3 +
 arch/powerpc/include/asm/reg.h                 |   5 +
 arch/powerpc/include/uapi/asm/kvm.h            |   4 +
 arch/powerpc/kernel/asm-offsets.c              |   3 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c            |  39 +++++--
 arch/powerpc/kvm/book3s_hv.c                   | 140 ++++++++++++++++++++++---
 arch/powerpc/kvm/book3s_hv_builtin.c           |  69 +++++++++---
 arch/powerpc/kvm/book3s_hv_rm_mmu.c            | 113 ++++++++++++++------
 arch/powerpc/kvm/book3s_hv_rm_xics.c           |  23 ++--
 arch/powerpc/kvm/book3s_hv_rmhandlers.S        | 132 ++++++++++++++++-------
 arch/powerpc/kvm/powerpc.c                     |  11 +-
 arch/powerpc/mm/hash_utils_64.c                |  28 +----
 arch/powerpc/mm/pgtable-radix.c                |  18 ++--
 arch/powerpc/mm/pgtable_64.c                   |  33 ++++++
 arch/powerpc/platforms/powernv/opal-wrappers.S |   3 +
 arch/powerpc/platforms/powernv/opal.c          |   2 +
 20 files changed, 483 insertions(+), 160 deletions(-)



More information about the Linuxppc-dev mailing list