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

2012-01-09 Thread Scott Wood
On 01/05/2012 03:06 AM, Liu Yu wrote: > diff --git a/arch/powerpc/kernel/idle_e500.S b/arch/powerpc/kernel/idle_e500.S > index 3e2b95c..6ea95f0 100644 > --- a/arch/powerpc/kernel/idle_e500.S > +++ b/arch/powerpc/kernel/idle_e500.S > @@ -85,6 +85,23 @@ END_FTR_SECTION_IFSET(CPU_FTR_L2CSR|CPU_FTR_CAN

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

2012-01-09 Thread Alexander Graf
On 05.01.2012, at 10:06, Liu Yu wrote: > If the guest hypervisor node contains "has-idle" property. > > Signed-off-by: Liu Yu > --- > v2: > 1. move the idle code into assembly. > 2. move the part that check "has-idle" into epapr code. > > arch/powerpc/include/asm/epapr_hcalls.h |1 + > arch

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

2012-01-05 Thread Liu Yu
If the guest hypervisor node contains "has-idle" property. Signed-off-by: Liu Yu --- v2: 1. move the idle code into assembly. 2. move the part that check "has-idle" into epapr code. arch/powerpc/include/asm/epapr_hcalls.h |1 + arch/powerpc/include/asm/machdep.h |5 + arch/powe