Re: [PATCH 5/7] powerpc: Swizzle around 4K PTE bits to free up bit 5 and bit 6

2017-09-14 Thread Ram Pai
On Thu, Sep 14, 2017 at 11:48:34AM +1000, Balbir Singh wrote: > On Fri, 8 Sep 2017 15:44:45 -0700 > Ram Pai wrote: > > > We need PTE bits 3 ,4, 5, 6 and 57 to support protection-keys, > > because these are the bits we want to consolidate on across all > > configuration to support protection

Re: [PATCH 5/7] powerpc: Swizzle around 4K PTE bits to free up bit 5 and bit 6

2017-09-13 Thread Balbir Singh
On Fri, 8 Sep 2017 15:44:45 -0700 Ram Pai wrote: > We need PTE bits 3 ,4, 5, 6 and 57 to support protection-keys, > because these are the bits we want to consolidate on across all > configuration to support protection keys. > > Bit 3,4,5 and 6 are currently used on 4K-pte kernels. But bit

[PATCH 5/7] powerpc: Swizzle around 4K PTE bits to free up bit 5 and bit 6

2017-09-08 Thread Ram Pai
We need PTE bits 3 ,4, 5, 6 and 57 to support protection-keys, because these are the bits we want to consolidate on across all configuration to support protection keys. Bit 3,4,5 and 6 are currently used on 4K-pte kernels. But bit 9 and 10 are available. Hence we use the two available bits