Re: [Qemu-ppc] [qemu-ppc] quesstion about kvm e500 tlb search method

2013-01-24 Thread Alexander Graf
Hi Kevin, On 24.01.2013, at 14:15, Wangkai (Kevin,C) wrote: > Dear, > > I check e500 core reference when the e500 core lookup for L2mmu entries, > TLB1 is preferred to TLB0. Could you please point me to the respective part of the documentation? > And for e500 KVM l2mmu lookup, I find that TLB

Re: [Qemu-ppc] [qemu-ppc] quesstion about kvm e500 tlb search method

2013-01-24 Thread Alexander Graf
On 24.01.2013, at 15:36, Wangkai (Kevin,C) wrote: > Hi Alex, > > In reply your mail: > Could you please point me to the respective part of the documentation? > Oh, I am sorry I just see the figure 12-4 of the L2mmu lookup (PowerPC e500 > Core Family Reference Manual .pdf page 12-8) > > And I c

Re: [PATCH][v2] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-24 Thread Alexander Graf
On 23.01.2013, at 00:54, Stuart Yoder wrote: > From: Stuart Yoder > > Signed-off-by: Stuart Yoder Ben, this one is in generic powerpc code, so I'd say it's for you :). Alex > --- > > -v2 > -macro'ized loop in idle_book3e.S to avoid code >duplication, paravirt loop is now in idle_bo

Re: [PATCH v3 0/8] KVM: PPC: e500: Shadow TLB Improvements v3

2013-01-24 Thread Alexander Graf
On 18.01.2013, at 15:38, Alexander Graf wrote: > This patch set improves the shadow TLB handling of our e500 > target. > > The really important bit here is that with these patches applied, > we can map guest TLB1 entries into the host's TLB0. This gives a > significant performance improvement as

Re: [PATCH][v2] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-24 Thread Scott Wood
On 01/22/2013 05:54:43 PM, Stuart Yoder wrote: +.macro BOOK3E_IDLE_LOOP +1: + PPC_WAIT(0) b 1b +.endm + +.macro EPAPR_EV_IDLE_LOOP +idle_loop: + LOAD_REG_IMMEDIATE(r11, EV_HCALL_TOKEN(EV_IDLE)) + +.global epapr_ev_idle_start +epapr_ev_idle_start: + li r3, -1 +

Re: [PULL 3.8 0/1] ppc patch queue 2013-01-18 for 3.8

2013-01-24 Thread Alexander Graf
On 22.01.2013, at 00:36, Marcelo Tosatti wrote: > On Fri, Jan 18, 2013 at 12:48:25AM +0100, Alexander Graf wrote: >> Hi Marcelo / Gleb, >> >> This is my current patch queue for ppc against 3.8. Please pull. >> >> It contains a bug fix for an issue that Ben Collins ran into, where >> a guest wo

RE: [PATCH][v2] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-24 Thread Yoder Stuart-B08248
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, January 24, 2013 12:22 PM > To: Yoder Stuart-B08248 > Cc: ag...@suse.de; b...@kernel.crashing.org; linuxppc-...@ozlabs.org; > kvm-ppc@vger.kernel.org; > k...@vger.kernel.org; Yoder Stuart-B08248 > Subject: Re: [PATCH][v2] K

Re: [PULL 3.8 0/1] ppc patch queue 2013-01-18 for 3.8

2013-01-24 Thread Gleb Natapov
On Thu, Jan 24, 2013 at 07:23:10PM +0100, Alexander Graf wrote: > > On 22.01.2013, at 00:36, Marcelo Tosatti wrote: > > > On Fri, Jan 18, 2013 at 12:48:25AM +0100, Alexander Graf wrote: > >> Hi Marcelo / Gleb, > >> > >> This is my current patch queue for ppc against 3.8. Please pull. > >> > >>

[PATCH][v3] KVM: PPC: add paravirt idle loop for 64-bit book E

2013-01-24 Thread Stuart Yoder
From: Stuart Yoder Signed-off-by: Stuart Yoder --- -v3 -whitespace cleanup, deleted stray comma, added comment arch/powerpc/kernel/epapr_hcalls.S |2 ++ arch/powerpc/kernel/idle_book3e.S | 32 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff -