powerpc: introduce execute-only pkey
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:32 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:01 +0000 (22:59 +1100)
commit5586cf61e108019565bb936daeb296e53df1c1d6
tree254b54bb1a7b565721de3756a2532aab45013968
parent06bb53b33804613627c7ca1eda246459a7be2803
powerpc: introduce execute-only pkey

This patch provides the implementation of execute-only pkey.
The architecture-independent layer expects the arch-dependent
layer, to support the ability to create and enable a special
key which has execute-only permission.

Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu.h
arch/powerpc/include/asm/pkeys.h
arch/powerpc/mm/pkeys.c