Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-10-23 Thread Ram Pai
On Thu, Sep 14, 2017 at 06:11:32PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2017-09-14 at 14:38 +1000, Balbir Singh wrote: > > On Fri, 8 Sep 2017 15:44:50 -0700 > > Ram Pai wrote: > > > > > powerpc needs an additional vma bit to support 32 keys. > > > Till the

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-10-23 Thread Ram Pai
On Mon, Oct 23, 2017 at 02:58:55PM +0530, Aneesh Kumar K.V wrote: > "Aneesh Kumar K.V" writes: > > > Ram Pai writes: > > > >> powerpc needs an additional vma bit to support 32 keys. > >> Till the additional vma bit lands in

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-10-23 Thread Ram Pai
On Mon, Oct 23, 2017 at 02:55:51PM +0530, Aneesh Kumar K.V wrote: > Ram Pai writes: > > > powerpc needs an additional vma bit to support 32 keys. > > Till the additional vma bit lands in include/linux/mm.h > > we have to define it in powerpc specific header file. > > This

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-10-23 Thread Aneesh Kumar K.V
Ram Pai writes: > powerpc needs an additional vma bit to support 32 keys. > Till the additional vma bit lands in include/linux/mm.h > we have to define it in powerpc specific header file. > This is needed to get pkeys working on power. > > Signed-off-by: Ram Pai

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-10-23 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Ram Pai writes: > >> powerpc needs an additional vma bit to support 32 keys. >> Till the additional vma bit lands in include/linux/mm.h >> we have to define it in powerpc specific header file. >> This is

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-09-14 Thread Ram Pai
On Thu, Sep 14, 2017 at 02:38:07PM +1000, Balbir Singh wrote: > On Fri, 8 Sep 2017 15:44:50 -0700 > Ram Pai wrote: > > > powerpc needs an additional vma bit to support 32 keys. > > Till the additional vma bit lands in include/linux/mm.h > > we have to define it in powerpc

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-09-14 Thread Benjamin Herrenschmidt
On Thu, 2017-09-14 at 14:38 +1000, Balbir Singh wrote: > On Fri, 8 Sep 2017 15:44:50 -0700 > Ram Pai wrote: > > > powerpc needs an additional vma bit to support 32 keys. > > Till the additional vma bit lands in include/linux/mm.h > > we have to define it in powerpc

Re: [PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-09-13 Thread Balbir Singh
On Fri, 8 Sep 2017 15:44:50 -0700 Ram Pai wrote: > powerpc needs an additional vma bit to support 32 keys. > Till the additional vma bit lands in include/linux/mm.h > we have to define it in powerpc specific header file. > This is needed to get pkeys working on power. >

[PATCH 02/25] powerpc: define an additional vma bit for protection keys.

2017-09-08 Thread Ram Pai
powerpc needs an additional vma bit to support 32 keys. Till the additional vma bit lands in include/linux/mm.h we have to define it in powerpc specific header file. This is needed to get pkeys working on power. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/pkeys.h