Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-08 Thread Kumar Gala
On Apr 8, 2011, at 2:22 AM, Michael Ellerman wrote: > The calculation of the size for the exception save area of the TLB > miss handler is wrong, luckily it's too big not too small. > > Rework it to make it a bit clearer, and also correct. We want 3 save > areas, each EX_TLB_SIZE _bytes_. > > S

[PATCH] powerpc/book3e: Fix extlb size

2011-04-08 Thread Michael Ellerman
The calculation of the size for the exception save area of the TLB miss handler is wrong, luckily it's too big not too small. Rework it to make it a bit clearer, and also correct. We want 3 save areas, each EX_TLB_SIZE _bytes_. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/paca.h

Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-05 Thread Kumar Gala
On Apr 5, 2011, at 6:39 PM, Benjamin Herrenschmidt wrote: > On Tue, 2011-04-05 at 07:41 -0500, Kumar Gala wrote: >>> Rework it to make it a bit clearer, and also correct. We want 3 save >>> areas, each EX_TLB_SIZE _bytes_. >> >> Where does the 3 come from? I have a guess, and think its possible

Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-05 Thread Benjamin Herrenschmidt
On Tue, 2011-04-05 at 07:41 -0500, Kumar Gala wrote: > > Rework it to make it a bit clearer, and also correct. We want 3 save > > areas, each EX_TLB_SIZE _bytes_. > > Where does the 3 come from? I have a guess, and think its possible we > (FSL) want 4? Wrong guess :-) It's not about exception le

Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-05 Thread Kumar Gala
On Apr 5, 2011, at 1:28 AM, Michael Ellerman wrote: > The calculation of the size for the exception save area of the TLB > miss handler is wrong, luckily it's too big not too small. > > Rework it to make it a bit clearer, and also correct. We want 3 save > areas, each EX_TLB_SIZE _bytes_. Where

[PATCH] powerpc/book3e: Fix extlb size

2011-04-04 Thread Michael Ellerman
The calculation of the size for the exception save area of the TLB miss handler is wrong, luckily it's too big not too small. Rework it to make it a bit clearer, and also correct. We want 3 save areas, each EX_TLB_SIZE _bytes_. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/paca.h