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