Re: [PATCH 2/4] 8xx: Avoid testing for kernel space in ITLB Miss.

2010-03-17 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 2010/03/16 22:19:36: > > On Fri, 2010-02-26 at 09:29 +0100, Joakim Tjernlund wrote: > > +#ifdef CONFIG_MODULES > > + /* Only modules will cause ITLB Misses as we always > > +* pin the first 8MB of kernel memory */ > > andi. r11, r10, 0x0800

Re: [PATCH 2/4] 8xx: Avoid testing for kernel space in ITLB Miss.

2010-03-16 Thread Benjamin Herrenschmidt
On Fri, 2010-02-26 at 09:29 +0100, Joakim Tjernlund wrote: > +#ifdef CONFIG_MODULES > + /* Only modules will cause ITLB Misses as we always > +* pin the first 8MB of kernel memory */ > andi. r11, r10, 0x0800/* Address >= 0x8000 */ > beq 3f > l

[PATCH 2/4] 8xx: Avoid testing for kernel space in ITLB Miss.

2010-03-02 Thread Joakim Tjernlund
Only modules will cause ITLB Misses as we always pin the first 8MB of kernel memory. Signed-off-by: Joakim Tjernlund --- arch/powerpc/kernel/head_8xx.S |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S inde

[PATCH 2/4] 8xx: Avoid testing for kernel space in ITLB Miss.

2010-02-26 Thread Joakim Tjernlund
Only modules will cause ITLB Misses as we always pin the first 8MB of kernel memory. --- arch/powerpc/kernel/head_8xx.S |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index ecc4a02..84ca1d9 100644 --- a/ar