]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1506e43c39e838eef4ff190e1db9865b4f553e1
tree254b54bb1a7b565721de3756a2532aab45013968
parentfa681b34841bb89e353bb6d01c28e6742d47351f
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