Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-24 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: .. > /* Returns the segment size indicator for a user address */ > @@ -534,11 +544,17 @@ static inline int user_segment_size(unsigned long addr) > static inline unsigned long get_vsid(unsigned long context, unsigned long ea, >i

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-24 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Paul Mackerras writes: > >> On Mon, Jul 23, 2012 at 03:52:05PM +0530, Aneesh Kumar K.V wrote: >>> Paul Mackerras writes: >>> >>> > On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: >>> > >>> >> -#define USER_ESID_BITS 16 >>> >> -#define USE

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-24 Thread Aneesh Kumar K.V
Paul Mackerras writes: > On Mon, Jul 23, 2012 at 03:52:05PM +0530, Aneesh Kumar K.V wrote: >> Paul Mackerras writes: >> >> > On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: >> > >> >> -#define USER_ESID_BITS 16 >> >> -#define USER_ESID_BITS_1T4 >> >> +#define

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-23 Thread Paul Mackerras
On Mon, Jul 23, 2012 at 03:52:05PM +0530, Aneesh Kumar K.V wrote: > Paul Mackerras writes: > > > On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: > > > >> -#define USER_ESID_BITS16 > >> -#define USER_ESID_BITS_1T 4 > >> +#define USER_ESID_BITS18 > >> +#def

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-23 Thread Aneesh Kumar K.V
Paul Mackerras writes: > On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: > >> -#define USER_ESID_BITS 16 >> -#define USER_ESID_BITS_1T 4 >> +#define USER_ESID_BITS 18 >> +#define USER_ESID_BITS_1T 6 > > You also need to change the proto-VSID generat

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-23 Thread Paul Mackerras
On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: > -#define USER_ESID_BITS 16 > -#define USER_ESID_BITS_1T4 > +#define USER_ESID_BITS 18 > +#define USER_ESID_BITS_1T6 You also need to change the proto-VSID generation for kernel addresses when y

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-23 Thread Aneesh Kumar K.V
Paul Mackerras writes: > On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: >> From: "Aneesh Kumar K.V" >> >> Increase max addressable range to 64TB. This is not tested on >> real hardware yet. >> >> Signed-off-by: Aneesh Kumar K.V >> --- >> arch/powerpc/include/asm/mmu-hash64

Re: [PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-22 Thread Paul Mackerras
On Mon, Jul 09, 2012 at 06:43:41PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Increase max addressable range to 64TB. This is not tested on > real hardware yet. > > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/mmu-hash64.h|8 > arch/p

[PATCH -V3 11/11] arch/powerpc: Add 64TB support

2012-07-09 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" Increase max addressable range to 64TB. This is not tested on real hardware yet. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/mmu-hash64.h|8 arch/powerpc/include/asm/pgtable-ppc64-4k.h |2 +- arch/powerpc/include/asm/pgtable-p