From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Mon, 05 Mar 2012 19:11:25 +0000 Subject: Re: [PATCH 1/4] KVM: PPC: Book3S HV: Save and restore CR in __kvmppc_vcore_entry Message-Id: <4F550FDD.7020504@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On 02/03/2012 11:53 AM, Paul Mackerras wrote: > The ABI specifies that CR fields CR2--CR4 are nonvolatile across function > calls. Currently __kvmppc_vcore_entry doesn't save and restore the CR, > leading to CR2--CR4 getting corrupted with guest values, possibly leading > to incorrect behaviour in its caller. This adds instructions to save > and restore CR at the points where we save and restore the nonvolatile > GPRs. > > Signed-off-by: Paul Mackerras Thanks, applied all to kvm-ppc-next. Please CC kvm@vger when you send patches. Failing to do so might mean the whole pull request gets blocked by Avi when it gets to him, because he doesn't read kvm-ppc@vger. Alex