Re: [PATCH v11 5/8] KVM: PPC: ev_idle hcall support for e500 guests

2012-07-02 Thread Alexander Graf
On 02.07.2012, at 15:24, Benjamin Herrenschmidt wrote: > On Mon, 2012-07-02 at 14:20 +0200, Alexander Graf wrote: >> >> Ben, would you be opposed to a macro that does this? Open-coding >> subtile details like this always makes me wary we could screw them >> up :) > > That's definitely material

Re: [PATCH v11 5/8] KVM: PPC: ev_idle hcall support for e500 guests

2012-07-02 Thread Benjamin Herrenschmidt
On Mon, 2012-07-02 at 14:20 +0200, Alexander Graf wrote: > > Ben, would you be opposed to a macro that does this? Open-coding > subtile details like this always makes me wary we could screw them > up :) That's definitely material for a macro (and fixup the gazillion places where we do it by hand

Re: [PATCH v11 5/8] KVM: PPC: ev_idle hcall support for e500 guests

2012-07-02 Thread Alexander Graf
On 22.06.2012, at 22:04, Stuart Yoder wrote: > From: Liu Yu-B13201 > > Signed-off-by: Liu Yu > [varun: 64-bit changes] > Signed-off-by: Varun Sethi > Signed-off-by: Stuart Yoder > --- > -v11: > -added comment about origin of idle instruction sequence > -update for 64-bit support found in

[PATCH v11 5/8] KVM: PPC: ev_idle hcall support for e500 guests

2012-06-22 Thread Stuart Yoder
From: Liu Yu-B13201 Signed-off-by: Liu Yu [varun: 64-bit changes] Signed-off-by: Varun Sethi Signed-off-by: Stuart Yoder --- -v11: -added comment about origin of idle instruction sequence -update for 64-bit support found in testing arch/powerpc/include/asm/epapr_hcalls.h | 11 +--