aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2019-04-18 16:51:22 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2019-04-21 23:06:01 +1000
commit1bb2bae2e6c7d94e3bc1fdce06baf31b8d811ed6 (patch)
treec51c5b211f9bac5da304cda127ce82351139d5a1 /arch/powerpc/platforms
parentpowerpc/64: Setup KUP on secondary CPUs (diff)
downloadlinux-dev-1bb2bae2e6c7d94e3bc1fdce06baf31b8d811ed6.tar.xz
linux-dev-1bb2bae2e6c7d94e3bc1fdce06baf31b8d811ed6.zip
powerpc/mm/radix: Use KUEP API for Radix MMU
Execution protection already exists on radix, this just refactors the radix init to provide the KUEP setup function instead. Thus, the only functional change is that it can now be disabled. Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 457fc3a5ed93..60371784c9f1 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -326,6 +326,7 @@ config PPC_RADIX_MMU
bool "Radix MMU Support"
depends on PPC_BOOK3S_64
select ARCH_HAS_GIGANTIC_PAGE if (MEMORY_ISOLATION && COMPACTION) || CMA
+ select PPC_HAVE_KUEP
default y
help
Enable support for the Power ISA 3.0 Radix style MMU. Currently this