Re: [PATCH 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-03-07 Thread Alexander Graf
On 02/28/2012 08:09 AM, Yin Olivia-R63875 wrote: Hi Scott, This had been reviewed before and accepted by internal tree. http://linux.freescale.net/patchwork/patch/11100/ http://git.am.freescale.net/gitolite/gitweb.cgi/sdk/kvm.git/commit/?h=for-sdk1.2id=c5088844dc665dbdae4fa51b8d58dc203bacc17e

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-03-07 Thread Alexander Graf
On 03/01/2012 02:20 AM, Olivia Yin wrote: From: Liu Yuyu@freescale.com So that we can call it when improving SPE switch like book3e did for fp switch. Timur / Scott, can you please (n)ack this one? Alex Signed-off-by: Liu Yuyu@freescale.com Signed-off-by: Olivia

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-03-07 Thread Scott Wood
On 03/07/2012 07:56 AM, Alexander Graf wrote: On 03/01/2012 02:20 AM, Olivia Yin wrote: From: Liu Yuyu@freescale.com So that we can call it when improving SPE switch like book3e did for fp switch. Timur / Scott, can you please (n)ack this one? ACK, though as it touches non-KVM code

[PATCH 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: kconfig fixes] Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v8: no changes

[PATCH v8 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: fixes for conditions allowing idle] Signed-off-by: Stuart Yoder

[PATCH v8 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: misc minor fixes] Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v8: no changes arch/powerpc/include/asm/epapr_hcalls.h |2 +

[PATCH 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- -v8: no changes arch/powerpc/include/asm/epapr_hcalls.h | 11 ++- arch/powerpc/kernel/epapr_hcalls.S | 27

Re: [PATCH v8 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Scott Wood
On 03/07/2012 04:31 PM, Stuart Yoder wrote: @@ -888,6 +891,10 @@ out: static int kvm_vm_ioctl_get_pvinfo(struct kvm_ppc_pvinfo *pvinfo) { +#ifdef CONFIG_KVM_BOOKE_HV + u32 inst_sc1 = 0x4422; + pvinfo-hcall[0] = inst_sc1; +#else u32 inst_lis = 0x3c00; u32

[PATCH v9 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: misc minor fixes] Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v9: no changes arch/powerpc/include/asm/epapr_hcalls.h |2 +

[PATCH v9 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: kconfig fixes] Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- v9: no changes

[PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: fixes for conditions allowing idle] Signed-off-by: Stuart Yoder

[PATCH v9 0/4] KVM: PPC: Add ePAPR idle hcall support

2012-03-07 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com -v9 -pad hcall instruction array with nops 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

[PATCH v9 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-03-07 Thread Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com If the guest hypervisor node contains has-idle property. Signed-off-by: Liu Yu yu@freescale.com --- v9: no changes arch/powerpc/include/asm/epapr_hcalls.h | 11 ++- arch/powerpc/kernel/epapr_hcalls.S | 27 +++

Re: [PATCH v9 1/4] KVM: PPC: epapr: Factor out the epapr init

2012-03-07 Thread Alexander Graf
On 08.03.2012, at 00:12, Stuart Yoder wrote: From: Liu Yu-B13201 yu@freescale.com from the kvm guest paravirt init code. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: misc minor fixes] Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -v9: no

Re: [PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Alexander Graf
On 08.03.2012, at 00:12, Stuart Yoder wrote: From: Liu Yu-B13201 yu@freescale.com And add a new flag definition in kvm_ppc_pvinfo to indicate whether host support EV_IDLE hcall. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: fixes for conditions allowing

Re: [PATCH v9 3/4] KVM: PPC: epapr: install ev_idle hcall for e500 guest

2012-03-07 Thread Alexander Graf
On 08.03.2012, at 00:12, Stuart Yoder wrote: From: Liu Yu-B13201 yu@freescale.com If the guest hypervisor node contains has-idle property. Jeez those patch descriptions drive me insane. Could you please rewrite them to actually describe what the patches are about? Signed-off-by:

Re: [PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Scott Wood
On 03/07/2012 05:27 PM, Alexander Graf wrote: On 08.03.2012, at 00:12, Stuart Yoder wrote: if (vcpu-requests) { +/* kvm_vcpu_block() sets KVM_REQ_UNHALT, but it is + * not cleared elsewhere as on x86. Clear it here + * for now, otherwise we never go

Re: [PATCH v9 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-03-07 Thread Alexander Graf
On 08.03.2012, at 00:12, Stuart Yoder wrote: From: Liu Yu-B13201 yu@freescale.com Discard the old way that invoke hypercall, instead, use epapr paravirt. Signed-off-by: Liu Yu yu@freescale.com [stuart.yo...@freescale.com: kconfig fixes] Signed-off-by: Stuart Yoder

Re: [PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Alexander Graf
On 08.03.2012, at 00:37, Scott Wood wrote: On 03/07/2012 05:27 PM, Alexander Graf wrote: On 08.03.2012, at 00:12, Stuart Yoder wrote: if (vcpu-requests) { + /* kvm_vcpu_block() sets KVM_REQ_UNHALT, but it is +* not cleared elsewhere as on x86. Clear it here +

Re: [PATCH v9 4/4] KVM: PPC: epapr: Update other hypercall invoking

2012-03-07 Thread Scott Wood
On 03/07/2012 05:37 PM, Alexander Graf wrote: On 08.03.2012, at 00:12, Stuart Yoder wrote: diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index f1ea59b..9ac4bc6 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -354,6 +354,7 @@ config TRACE_SINK config

RE: [PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host

2012-03-07 Thread Yoder Stuart-B08248
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, March 07, 2012 5:39 PM To: Wood Scott-B07421 Cc: Yoder Stuart-B08248; kvm-ppc@vger.kernel.org; k...@vger.kernel.org Subject: Re: [PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host On