From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Tue, 05 Apr 2011 14:58:27 +0000 Subject: Re: [PATCH v6 4/4] KVM: PPC: e500: Save/restore SPE state Message-Id: <4D9B2E13.8060505@suse.de> List-Id: References: <20110404192411.GA11491@schlenkerla.am.freescale.net> In-Reply-To: <20110404192411.GA11491@schlenkerla.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On 04/04/2011 09:24 PM, 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 emulation. > > For SPEFSCR, Linux already switches it on context switch (non-lazily), so > the only remaining bit is to save it between qemu and the guest. Looks good to me now. Please resend the whole patchset once you have real acks from Kumar, and include those in the commit message. Alex