Re: [PATCH 02/23] KVM: PPC: Book3S PR: Don't corrupt guest state when kernel uses VMX

2013-08-08 Thread Aneesh Kumar K.V
Paul Mackerras writes: > @@ -575,8 +577,6 @@ static int kvmppc_handle_ext(struct kvm_vcpu *vcpu, > unsigned int exit_nr, > printk(KERN_INFO "Loading up ext 0x%lx\n", msr); > #endif > > - current->thread.regs->msr |= msr; > - > if (msr & MSR_FP) { > for (i = 0; i

[PATCH v2] powerpc/booke64: Add LRAT error exception handler

2013-08-08 Thread Mihai Caraman
LRAT (Logical to Real Address Translation) present in MMU v2 provides hardware translation from a logical page number (LPN) to a real page number (RPN) when tlbwe is executed by a guest or when a page table translation occurs from a guest virtual address. Add LRAT error exception handler to Booke3

RE: [PATCH RFC 0/5] Eliminate double-copying of FP/VMX/VSX state

2013-08-08 Thread Caraman Mihai Claudiu-B02008
> -Original Message- > From: Paul Mackerras [mailto:pau...@samba.org] > Sent: Thursday, August 08, 2013 3:08 PM > To: Caraman Mihai Claudiu-B02008 > Cc: Alexander Graf; Benjamin Herrenschmidt; kvm-ppc@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH RFC 0/5] Eliminate double-co

Re: [PATCH RFC 0/5] Eliminate double-copying of FP/VMX/VSX state

2013-08-08 Thread Paul Mackerras
On Wed, Aug 07, 2013 at 08:37:24AM +, Caraman Mihai Claudiu-B02008 wrote: > > Nice work Paul! What do you suggest for KVM BookE AltiVec v2 patchset, > should I wait for this RFC or should I go ahead with the version based > on the existing infrastructure? It's really up to you and whether you

Re: [PATCH 21/23] KVM: PPC: Book3S PR: Use mmu_notifier_retry() in kvmppc_mmu_map_page()

2013-08-08 Thread Paul Mackerras
On Wed, Aug 07, 2013 at 08:31:04AM +, Bhushan Bharat-R65777 wrote: > > > > -Original Message- > > From: Paul Mackerras [mailto:pau...@samba.org] > > Sent: Wednesday, August 07, 2013 1:58 PM > > To: Bhushan Bharat-R65777 > > Cc: Alexander Graf; Benjamin Herrenschmidt; kvm-ppc@vger.kern