Re: [RFC v7 12/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-10-18 Thread Ram Pai
On Wed, Oct 18, 2017 at 05:58:18PM +0200, Laurent Dufour wrote: > Hi Ram, > > On 31/07/2017 02:12, Ram Pai wrote: > > arch independent code calls arch_override_mprotect_pkey() > > to return a pkey that best matches the requested protection. > > > > This patch provides the implementation. > > > >

Re: [RFC v7 12/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-10-18 Thread Laurent Dufour
Hi Ram, On 31/07/2017 02:12, Ram Pai wrote: > arch independent code calls arch_override_mprotect_pkey() > to return a pkey that best matches the requested protection. > > This patch provides the implementation. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/mmu_context.h |5 ++

[RFC v7 12/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-07-30 Thread Ram Pai
arch independent code calls arch_override_mprotect_pkey() to return a pkey that best matches the requested protection. This patch provides the implementation. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/mmu_context.h |5 +++ arch/powerpc/include/asm/pkeys.h | 17 ++-