]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/book3s64/kuap/kuep: Add PPC_PKEY config on book3s64
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Fri, 27 Nov 2020 04:44:05 +0000 (10:14 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:24 +0000 (01:01 +1100)
commita221996bf5f8b36e0342fcf074a19918c6af0be2
tree115f18a716578ca066bd895cb283c3d028705fbc
parent739160d8209ae15706c0eb6430e55f93cda1e5bb
powerpc/book3s64/kuap/kuep: Add PPC_PKEY config on book3s64

The config CONFIG_PPC_PKEY is used to select the base support that is
required for PPC_MEM_KEYS, KUAP, and KUEP. Adding this dependency
reduces the code complexity(in terms of #ifdefs) and enables us to
move some of the initialization code to pkeys.c

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201127044424.40686-4-aneesh.kumar@linux.ibm.com
arch/powerpc/include/asm/book3s/64/kup-radix.h
arch/powerpc/include/asm/book3s/64/mmu.h
arch/powerpc/include/asm/ptrace.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/mm/book3s64/Makefile
arch/powerpc/mm/book3s64/pkeys.c
arch/powerpc/platforms/Kconfig.cputype