From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: [PATCH 00/11] KVM: PPC: Book3S HV: Support KVM guests on POWER9 Date: Wed, 23 Nov 2016 11:31:54 +1100 Message-ID: <1479861125-21394-1-git-send-email-paulus@ozlabs.org> To: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@ozlabs.org Return-path: Received: from ozlabs.org ([103.22.144.67]:40133 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592AbcKWAcO (ORCPT ); Tue, 22 Nov 2016 19:32:14 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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 suitable changes to the user-mode driver, this can also 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 the ppc-kvm topic branch from the powerpc tree merged with my current kvm-ppc-next tree. Paul. --- Documentation/virtual/kvm/api.txt | 2 + arch/powerpc/include/asm/kvm_asm.h | 1 + arch/powerpc/include/asm/kvm_host.h | 3 + arch/powerpc/include/asm/kvm_ppc.h | 7 +- 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 | 203 ++++++++++++++++++++++++++------ arch/powerpc/kvm/book3s_hv_builtin.c | 69 +++++++++-- arch/powerpc/kvm/book3s_hv_rm_mmu.c | 111 +++++++++++------ arch/powerpc/kvm/book3s_hv_rm_xics.c | 23 +++- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 136 ++++++++++++++------- arch/powerpc/kvm/powerpc.c | 11 +- 13 files changed, 468 insertions(+), 144 deletions(-) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Date: Wed, 23 Nov 2016 00:31:54 +0000 Subject: [PATCH 00/11] KVM: PPC: Book3S HV: Support KVM guests on POWER9 Message-Id: <1479861125-21394-1-git-send-email-paulus@ozlabs.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@ozlabs.org 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 suitable changes to the user-mode driver, this can also 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 the ppc-kvm topic branch from the powerpc tree merged with my current kvm-ppc-next tree. Paul. --- Documentation/virtual/kvm/api.txt | 2 + arch/powerpc/include/asm/kvm_asm.h | 1 + arch/powerpc/include/asm/kvm_host.h | 3 + arch/powerpc/include/asm/kvm_ppc.h | 7 +- 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 | 203 ++++++++++++++++++++++++++------ arch/powerpc/kvm/book3s_hv_builtin.c | 69 +++++++++-- arch/powerpc/kvm/book3s_hv_rm_mmu.c | 111 +++++++++++------ arch/powerpc/kvm/book3s_hv_rm_xics.c | 23 +++- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 136 ++++++++++++++------- arch/powerpc/kvm/powerpc.c | 11 +- 13 files changed, 468 insertions(+), 144 deletions(-)