summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2018-01-19 02:50:24 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-20 11:45:03 +0100
commit92e3da3cf193fd27996909956c12a23c0333da44 (patch)
treefde2278b3811f2d9a7483cd635bd1d4007a82545 /arch/powerpc/Kconfig
parentcxl: Add support for ASB_Notify on POWER9 (diff)
downloadlinux-92e3da3cf193fd27996909956c12a23c0333da44.tar.xz
linux-92e3da3cf193fd27996909956c12a23c0333da44.zip
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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index c51e6ce42e7a..c9660a18c093 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -867,6 +867,21 @@ config SECCOMP
If unsure, say Y. Only embedded should say N here.
+config PPC_MEM_KEYS
+ prompt "PowerPC Memory Protection Keys"
+ def_bool y
+ depends on PPC_BOOK3S_64
+ select ARCH_USES_HIGH_VMA_FLAGS
+ select ARCH_HAS_PKEYS
+ help
+ Memory Protection Keys provides a mechanism for enforcing
+ page-based protections, but without requiring modification of the
+ page tables when an application changes protection domains.
+
+ For details, see Documentation/vm/protection-keys.txt
+
+ If unsure, say y.
+
endmenu
config ISA_DMA_API