Received: from eggs.gnu.org ([2001:4830:134:3::10]:45521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws8Ts-0003WF-Pk for qemu-devel@nongnu.org; Wed, 04 Jun 2014 06:31:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws8Tj-0002zS-U3 for qemu-devel@nongnu.org; Wed, 04 Jun 2014 06:31:40 -0400 From: Alexander Graf Date: Wed, 4 Jun 2014 12:31:23 +0200 Message-Id: <1401877887-32620-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 0/4] KVM: PPC: sPAPR: Enable magic page mapping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: qemu-devel@nongnu.org The magic page allows us to speed up guests significantly on PR KVM. To enable the magic page the guest needs to be able to issue KVM hypercalls. Information on how to trigger them comes via device tree. So far we didn't expose the respective device tree node on the sPAPR machine type. Unfortunately during testing a number of issues got revealed when the guest uses our magic page, so we only enable kvm hypercalls when the host kernel is patched to make this a safe operation. Alexander Graf (4): linux-headers: include psci.h linux-headers: update linux headers to kvm/next KVM: PPC: Expose fixup hcall capability PPC: spapr: Expose /hypervisor node in device tree hw/ppc/spapr.c | 20 ++++++++ linux-headers/asm-arm/kvm.h | 10 ++-- linux-headers/asm-arm64/kvm.h | 13 ++++-- linux-headers/asm-mips/kvm.h | 35 ++++++++++++++ linux-headers/asm-powerpc/kvm.h | 2 +- linux-headers/asm-powerpc/kvm_para.h | 6 +++ linux-headers/linux/kvm.h | 10 ++++ linux-headers/linux/psci.h | 90 ++++++++++++++++++++++++++++++++++++ scripts/update-linux-headers.sh | 3 +- target-ppc/kvm.c | 7 +++ target-ppc/kvm_ppc.h | 6 +++ 11 files changed, 191 insertions(+), 11 deletions(-) create mode 100644 linux-headers/linux/psci.h -- 1.8.1.4