[PATCH 04/13] KVM: PPC: e500: Save/restore SPE state

2011-05-17 Thread Scott Wood
This is done lazily. The SPE save will be done only if the guest has used SPE since the last preemption or heavyweight exit. Restore will be done only on demand, when enabling MSR_SPE in the shadow MSR, in response to an SPE fault or mtmsr emulation. For SPEFSCR, Linux already switches it on con

[PATCH 04/13] KVM: PPC: e500: Save/restore SPE state

2011-06-02 Thread Scott Wood
This is done lazily. The SPE save will be done only if the guest has used SPE since the last preemption or heavyweight exit. Restore will be done only on demand, when enabling MSR_SPE in the shadow MSR, in response to an SPE fault or mtmsr emulation. For SPEFSCR, Linux already switches it on con

Re: [PATCH 04/13] KVM: PPC: e500: Save/restore SPE state

2011-06-14 Thread Alexander Graf
On 03.06.2011, at 01:16, Scott Wood wrote: > This is done lazily. The SPE save will be done only if the guest has > used SPE since the last preemption or heavyweight exit. Restore will be > done only on demand, when enabling MSR_SPE in the shadow MSR, in response > to an SPE fault or mtmsr emul

Re: [PATCH 04/13] KVM: PPC: e500: Save/restore SPE state

2011-06-14 Thread Scott Wood
On Tue, 14 Jun 2011 11:39:06 +0200 Alexander Graf wrote: > > On 03.06.2011, at 01:16, Scott Wood wrote: > > > diff --git a/arch/powerpc/kvm/e500.c b/arch/powerpc/kvm/e500.c > > index 318dbc6..43923c3 100644 > > --- a/arch/powerpc/kvm/e500.c > > +++ b/arch/powerpc/kvm/e500.c > > @@ -1,5 +1,5 @@