All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] KVM: PPC: Support POWER9 guests
@ 2016-11-18  7:28 ` Paul Mackerras
  0 siblings, 0 replies; 64+ messages in thread
From: Paul Mackerras @ 2016-11-18  7:28 UTC (permalink / raw)
  To: kvm, kvm-ppc, linuxppc-dev

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(-)


^ permalink raw reply	[flat|nested] 64+ messages in thread

end of thread, other threads:[~2016-11-21  2:14 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18  7:28 [PATCH 00/13] KVM: PPC: Support POWER9 guests Paul Mackerras
2016-11-18  7:28 ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 01/13] powerpc/64: Add some more SPRs and SPR bits for POWER9 Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 02/13] powerpc/64: Provide functions for accessing POWER9 partition table Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18 14:27   ` Aneesh Kumar K.V
2016-11-18 14:39     ` Aneesh Kumar K.V
2016-11-19  4:19     ` Paul Mackerras
2016-11-19  4:19       ` Paul Mackerras
2016-11-19  6:35       ` Aneesh Kumar K.V
2016-11-19  6:47         ` Aneesh Kumar K.V
2016-11-21  2:14         ` Paul Mackerras
2016-11-21  2:14           ` Paul Mackerras
2016-11-19  0:45   ` Balbir Singh
2016-11-19  0:45     ` Balbir Singh
2016-11-19  4:23     ` Paul Mackerras
2016-11-19  4:23       ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 03/13] powerpc/powernv: Define real-mode versions of OPAL XICS accessors Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 04/13] KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 05/13] KVM: PPC: Book3S HV: Adapt to new HPTE format on POWER9 Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-19  0:38   ` Balbir Singh
2016-11-19  0:38     ` Balbir Singh
2016-11-21  2:02     ` Paul Mackerras
2016-11-21  2:02       ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 06/13] KVM: PPC: Book3S HV: Set partition table rather than SDR1 " Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-19  1:01   ` Balbir Singh
2016-11-19  1:01     ` Balbir Singh
2016-11-18  7:28 ` [PATCH 07/13] KVM: PPC: Book3S HV: Adjust host/guest context switch for POWER9 Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18 14:35   ` Aneesh Kumar K.V
2016-11-18 14:47     ` Aneesh Kumar K.V
2016-11-19  4:02     ` Paul Mackerras
2016-11-19  4:02       ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 08/13] KVM: PPC: Book3S HV: Add new POWER9 guest-accessible SPRs Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 09/13] KVM: PPC: Book3S HV: Adapt TLB invalidations to work on POWER9 Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18 14:41   ` Aneesh Kumar K.V
2016-11-18 14:53     ` Aneesh Kumar K.V
2016-11-18 21:57     ` Benjamin Herrenschmidt
2016-11-18 21:57       ` Benjamin Herrenschmidt
2016-11-19  4:14       ` Paul Mackerras
2016-11-19  4:14         ` Paul Mackerras
2016-11-19  4:41         ` Benjamin Herrenschmidt
2016-11-19  4:41           ` Benjamin Herrenschmidt
2016-11-19  4:13     ` Paul Mackerras
2016-11-19  4:13       ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 10/13] KVM: PPC: Book3S HV: Use msgsnd for IPIs to other cores " Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18 14:47   ` Aneesh Kumar K.V
2016-11-18 14:59     ` Aneesh Kumar K.V
2016-11-19  3:53     ` Paul Mackerras
2016-11-19  3:53       ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 11/13] KVM: PPC: Book3S HV: Use OPAL XICS emulation " Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 12/13] KVM: PPC: Book3S HV: Use stop instruction rather than nap " Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras
2016-11-18  7:28 ` [PATCH 13/13] KVM: PPC: Book3S HV: Treat POWER9 CPU threads as independent subcores Paul Mackerras
2016-11-18  7:28   ` Paul Mackerras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.