Re: [PATCH 10/15] powerpc: Define slb0_limit() for BOOK3E

2011-04-18 Thread Benjamin Herrenschmidt
On Mon, 2011-04-18 at 17:30 -0500, Kumar Gala wrote: > > On Mon, 2011-04-18 at 07:42 -0500, Kumar Gala wrote: > >> Let's rename this function to something 'linear_map'. As on FSL > >> Book-E 64 we do things a bit differently and have more covered in > >> linear map than 1G > > > > It's not quite

Re: [PATCH 10/15] powerpc: Define slb0_limit() for BOOK3E

2011-04-18 Thread Kumar Gala
On Apr 18, 2011, at 4:41 PM, Benjamin Herrenschmidt wrote: > On Mon, 2011-04-18 at 07:42 -0500, Kumar Gala wrote: >> Let's rename this function to something 'linear_map'. As on FSL >> Book-E 64 we do things a bit differently and have more covered in >> linear map than 1G > > It's not quite line

Re: [PATCH 10/15] powerpc: Define slb0_limit() for BOOK3E

2011-04-18 Thread Benjamin Herrenschmidt
On Mon, 2011-04-18 at 07:42 -0500, Kumar Gala wrote: > Let's rename this function to something 'linear_map'. As on FSL > Book-E 64 we do things a bit differently and have more covered in > linear map than 1G It's not quite linear_map. It's whatever can be accessed without taking exceptions. IE. W

Re: [PATCH 10/15] powerpc: Define slb0_limit() for BOOK3E

2011-04-18 Thread Kumar Gala
On Apr 15, 2011, at 3:32 AM, Michael Ellerman wrote: > From: Michael Ellerman > > On BOOK3E we don't have an SLB 0, but the equivalent concept is the > bolted entry mapping the kernel. Currently this is a 1G entry, so > for now hardcode that. This will probably need to be reworked in > future.

Re: [PATCH 10/15] powerpc: Define slb0_limit() for BOOK3E

2011-04-16 Thread Olof Johansson
Hi, On Fri, Apr 15, 2011 at 1:32 AM, Michael Ellerman wrote: > From: Michael Ellerman > > On BOOK3E we don't have an SLB 0, but the equivalent concept is the > bolted entry mapping the kernel. Currently this is a 1G entry, so > for now hardcode that. This will probably need to be reworked in > f

[PATCH 10/15] powerpc: Define slb0_limit() for BOOK3E

2011-04-15 Thread Michael Ellerman
From: Michael Ellerman On BOOK3E we don't have an SLB 0, but the equivalent concept is the bolted entry mapping the kernel. Currently this is a 1G entry, so for now hardcode that. This will probably need to be reworked in future. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/setup_64