RE: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Caraman Mihai Claudiu-B02008
.kernel.org; linuxppc-...@lists.ozlabs.org > Subject: Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness > > > On 03.07.2013, at 20:37, Scott Wood wrote: > > > On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: > >> Increase FPU laziness by calling kvmppc_load_gue

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
On 03.07.2013, at 20:37, Scott Wood wrote: > On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: >> Increase FPU laziness by calling kvmppc_load_guest_fp() just before >> returning to guest instead of each sched in. Without this improvement >> an interrupt may also claim floting point corrupting gues

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
On 03.07.2013, at 19:44, Scott Wood wrote: > On 07/03/2013 12:23:16 PM, Alexander Graf wrote: >> On 03.07.2013, at 19:18, Scott Wood wrote: >> > On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: >> >> Increase FPU laziness by calling kvmppc_load_guest_fp() just before >> >> returning to guest inste

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Scott Wood
On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: Increase FPU laziness by calling kvmppc_load_guest_fp() just before returning to guest instead of each sched in. Without this improvement an interrupt may also claim floting point corrupting guest state. Signed-off-by: Mihai Caraman --- arch/powe

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Scott Wood
On 07/03/2013 12:23:16 PM, Alexander Graf wrote: On 03.07.2013, at 19:18, Scott Wood wrote: > On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: >> Increase FPU laziness by calling kvmppc_load_guest_fp() just before >> returning to guest instead of each sched in. Without this improvement >> an

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
On 03.07.2013, at 19:17, Scott Wood wrote: > On 07/03/2013 11:59:45 AM, Alexander Graf wrote: >> On 03.07.2013, at 17:41, Caraman Mihai Claudiu-B02008 wrote: >> > Increase FPU laziness by calling kvmppc_load_guest_fp() just before >> > returning to guest instead of each sched in. Without

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
On 03.07.2013, at 19:18, Scott Wood wrote: > On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: >> Increase FPU laziness by calling kvmppc_load_guest_fp() just before >> returning to guest instead of each sched in. Without this improvement >> an interrupt may also claim floting point corrupting gues

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Scott Wood
On 07/03/2013 07:42:36 AM, Mihai Caraman wrote: Increase FPU laziness by calling kvmppc_load_guest_fp() just before returning to guest instead of each sched in. Without this improvement an interrupt may also claim floting point corrupting guest state. Signed-off-by: Mihai Caraman --- arch/powe

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Scott Wood
On 07/03/2013 11:59:45 AM, Alexander Graf wrote: On 03.07.2013, at 17:41, Caraman Mihai Claudiu-B02008 wrote: > Increase FPU laziness by calling kvmppc_load_guest_fp() just before > returning to guest instead of each sched in. Without this improvement > an interrupt may also cla

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
nt: Wednesday, July 03, 2013 4:45 PM >> >> To: Caraman Mihai Claudiu-B02008 >> >> Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; linuxppc- >> >> d...@lists.ozlabs.org >> >> Subject: Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness >>

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Scott Wood
iu-B02008 >> Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; linuxppc- >> d...@lists.ozlabs.org >> Subject: Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness >> >> >> On 03.07.2013, at 14:42, Mihai Caraman wrote: >> >>> Increase FPU laziness by calling

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
On 03.07.2013, at 17:41, Caraman Mihai Claudiu-B02008 wrote: > Increase FPU laziness by calling kvmppc_load_guest_fp() just before > returning to guest instead of each sched in. Without this improvement > an interrupt may also claim floting point corrupting guest state. Not

RE: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Caraman Mihai Claudiu-B02008
> >>> Increase FPU laziness by calling kvmppc_load_guest_fp() just before > >>> returning to guest instead of each sched in. Without this improvement > >>> an interrupt may also claim floting point corrupting guest state. > >> > >> Not sure I follow. Could you please describe exactly what's happeni

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
ger.kernel.org; linuxppc- >> d...@lists.ozlabs.org >> Subject: Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness >> >> >> On 03.07.2013, at 14:42, Mihai Caraman wrote: >> >>> Increase FPU laziness by calling kvmppc_load_guest_fp() just before >>> re

RE: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Caraman Mihai Claudiu-B02008
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Wednesday, July 03, 2013 4:45 PM > To: Caraman Mihai Claudiu-B02008 > Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 3/6] KVM: PPC:

Re: [PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Alexander Graf
On 03.07.2013, at 14:42, Mihai Caraman wrote: > Increase FPU laziness by calling kvmppc_load_guest_fp() just before > returning to guest instead of each sched in. Without this improvement > an interrupt may also claim floting point corrupting guest state. Not sure I follow. Could you please desc

[PATCH 3/6] KVM: PPC: Book3E: Increase FPU laziness

2013-07-03 Thread Mihai Caraman
Increase FPU laziness by calling kvmppc_load_guest_fp() just before returning to guest instead of each sched in. Without this improvement an interrupt may also claim floting point corrupting guest state. Signed-off-by: Mihai Caraman --- arch/powerpc/kvm/booke.c |1 + arch/powerpc/kvm/e500mc