Re: [PATCH 13/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-10-19 Thread Ram Pai
On Thu, Oct 19, 2017 at 10:04:40AM +1100, Balbir Singh wrote: > On Wed, 18 Oct 2017 14:10:41 -0700 > Ram Pai wrote: > > > On Wed, Oct 18, 2017 at 03:36:35PM +1100, Balbir Singh wrote: > > > On Fri, 8 Sep 2017 15:45:01 -0700 > > > Ram Pai wrote: > > > > > > > arch independent code calls arch_

Re: [PATCH 13/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-10-18 Thread Balbir Singh
On Wed, 18 Oct 2017 14:10:41 -0700 Ram Pai wrote: > On Wed, Oct 18, 2017 at 03:36:35PM +1100, Balbir Singh wrote: > > On Fri, 8 Sep 2017 15:45:01 -0700 > > Ram Pai wrote: > > > > > arch independent code calls arch_override_mprotect_pkey() > > > to return a pkey that best matches the requeste

Re: [PATCH 13/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-10-18 Thread Ram Pai
On Wed, Oct 18, 2017 at 03:36:35PM +1100, Balbir Singh wrote: > On Fri, 8 Sep 2017 15:45:01 -0700 > 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: [PATCH 13/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-10-17 Thread Balbir Singh
On Fri, 8 Sep 2017 15:45:01 -0700 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 |

[PATCH 13/25] powerpc: implementation for arch_override_mprotect_pkey()

2017-09-08 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 ++-