[prev in list] [next in list] [prev in thread] [next in thread]
List: kvm-ppc
Subject: Re: [PATCH 1/2] KVM: PPC: booke: save/restore VRSAVE (a.k.a.
From: Scott Wood <scottwood () freescale ! com>
Date: 2011-04-19 15:54:24
Message-ID: 20110419105424.7efdf043 () schlenkerla ! am ! freescale ! net
[Download RAW message or body]
On Tue, 19 Apr 2011 00:43:51 +0200
Alexander Graf <agraf@suse.de> wrote:
> On 19.04.2011, at 00:31, Scott Wood wrote:
>
> > diff --git a/arch/powerpc/kvm/booke_interrupts.S b/arch/powerpc/kvm/booke_interrupts.S
> > index 54c19d2..cde29c4 100644
> > --- a/arch/powerpc/kvm/booke_interrupts.S
> > +++ b/arch/powerpc/kvm/booke_interrupts.S
> > @@ -184,6 +184,8 @@ _GLOBAL(kvmppc_resume_host)
> > stw r3, VCPU_GPR(r4)(r4)
> > mfspr r3, SPRN_SRR0
> > stw r3, VCPU_PC(r4)
> > + mfspr r3, SPRN_VRSAVE
> > + stw r3, VCPU_VRSAVE(r4)
>
> Do we need to swap this on every exit or is vcpu_load/put enough?
vcpu_load/put is OK.
-Scott
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic