powerpc: initial pkey plumbing
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:24 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 10:45:03 +0000 (21:45 +1100)
commit92e3da3cf193fd27996909956c12a23c0333da44
treefde2278b3811f2d9a7483cd635bd1d4007a82545
parentb1db551324f72fa14ad82ca31237a7ed418104df
powerpc: initial pkey plumbing

Basic  plumbing  to   initialize  the   pkey  system.
Nothing is enabled yet. A later patch will enable it
once all the infrastructure is in place.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
[mpe: Rework copyrights to use SPDX tags]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/mmu_context.h
arch/powerpc/include/asm/pkeys.h [new file with mode: 0644]
arch/powerpc/mm/Makefile
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/pkeys.c [new file with mode: 0644]