From: Stuart Yoder Date: Tue, 06 Mar 2012 21:19:59 +0000 Subject: [PATCH 0/4 v7] KVM: PPC: Add ePAPR idle hcall support Message-Id: <1331068803-25505-1-git-send-email-stuart.yoder@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: agraf@suse.de, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org Cc: Stuart Yoder From: Stuart Yoder -version 7 of this patchset -version 7 changes KVM: PPC: epapr: Factor out the epapr init -used ENODEV return code in epapr_paravirt_init -improved error checkign logic as per review comments -fixed spelling errors KVM: PPC: epapr: Add idle hcall support for host -removed WE check from check if vcpu is runnable -clear KVM_REQ_UNHALT, which prevented guest from going idle. This bit was set in common code, but never cleared on PPC. KVM: PPC: epapr: Update other hypercall invoking -updated Kconfig for byte-channel and vmpic hcalls Liu Yu-B13201 (4): KVM: PPC: epapr: Factor out the epapr init KVM: PPC: epapr: Add idle hcall support for host KVM: PPC: epapr: install ev_idle hcall for e500 guest KVM: PPC: epapr: Update other hypercall invoking arch/powerpc/include/asm/Kbuild | 1 + arch/powerpc/include/asm/epapr_hcalls.h | 35 ++++++++++-------- arch/powerpc/include/asm/fsl_hcalls.h | 36 +++++++++--------- arch/powerpc/include/asm/kvm_para.h | 14 ++++++- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/kernel/epapr_hcalls.S | 52 ++++++++++++++++++++++++++ arch/powerpc/kernel/epapr_paravirt.c | 61 +++++++++++++++++++++++++++++++ arch/powerpc/kernel/kvm.c | 28 ++------------- arch/powerpc/kernel/kvm_emul.S | 10 ----- arch/powerpc/kvm/booke.c | 6 +++ arch/powerpc/kvm/powerpc.c | 9 ++++- arch/powerpc/platforms/Kconfig | 10 +++++ drivers/tty/Kconfig | 1 + drivers/virt/Kconfig | 1 + include/linux/kvm.h | 2 + 15 files changed, 194 insertions(+), 73 deletions(-) create mode 100644 arch/powerpc/kernel/epapr_hcalls.S create mode 100644 arch/powerpc/kernel/epapr_paravirt.c -- 1.7.3.4