Re: [PATCH -V5 11/13] arch/powerpc: properly isolate kernel and user proto-VSID

2012-08-01 Thread Aneesh Kumar K.V
Paul Mackerras writes: > On Mon, Jul 30, 2012 at 04:52:17PM +0530, Aneesh Kumar K.V wrote: >> From: "Aneesh Kumar K.V" >> >> The proto-VSID space is divided into two class >> User: 0 to 2^(CONTEXT_BITS + USER_ESID_BITS) -1 >> kernel: 2^(CONTEXT_BITS + USER_ESID_BITS) to 2^(VSID_BITS) - 1 >>

Re: [PATCH -V5 11/13] arch/powerpc: properly isolate kernel and user proto-VSID

2012-07-31 Thread Paul Mackerras
On Mon, Jul 30, 2012 at 04:52:17PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > The proto-VSID space is divided into two class > User: 0 to 2^(CONTEXT_BITS + USER_ESID_BITS) -1 > kernel: 2^(CONTEXT_BITS + USER_ESID_BITS) to 2^(VSID_BITS) - 1 > > With KERNEL_START at 0xc000

[PATCH -V5 11/13] arch/powerpc: properly isolate kernel and user proto-VSID

2012-07-30 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" The proto-VSID space is divided into two class User: 0 to 2^(CONTEXT_BITS + USER_ESID_BITS) -1 kernel: 2^(CONTEXT_BITS + USER_ESID_BITS) to 2^(VSID_BITS) - 1 With KERNEL_START at 0xc000, the proto vsid for the kernel ends up with 0xc (36 bits). With