Re: [PATCH 17/25] powerpc: helper to validate key-access permissions of a pte

2017-10-18 Thread Ram Pai
On Wed, Oct 18, 2017 at 03:48:31PM +1100, Balbir Singh wrote: > On Fri, 8 Sep 2017 15:45:05 -0700 > Ram Pai wrote: > > > helper function that checks if the read/write/execute is allowed > > on the pte. > > > > Signed-off-by: Ram Pai > > --- > > arch/powerpc/include/asm/book3s/64/pgtable.h |

Re: [PATCH 17/25] powerpc: helper to validate key-access permissions of a pte

2017-10-17 Thread Balbir Singh
On Fri, 8 Sep 2017 15:45:05 -0700 Ram Pai wrote: > helper function that checks if the read/write/execute is allowed > on the pte. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/book3s/64/pgtable.h |4 +++ > arch/powerpc/include/asm/pkeys.h | 12 +++ > ar

[PATCH 17/25] powerpc: helper to validate key-access permissions of a pte

2017-09-08 Thread Ram Pai
helper function that checks if the read/write/execute is allowed on the pte. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/book3s/64/pgtable.h |4 +++ arch/powerpc/include/asm/pkeys.h | 12 +++ arch/powerpc/mm/pkeys.c | 28 ++