diff options
author | Russell Currey <ruscur@russell.cc> | 2019-04-18 08:51:22 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-04-21 15:06:01 +0200 |
commit | 1bb2bae2e6c7d94e3bc1fdce06baf31b8d811ed6 (patch) | |
tree | c51c5b211f9bac5da304cda127ce82351139d5a1 /arch/powerpc/platforms | |
parent | powerpc/64: Setup KUP on secondary CPUs (diff) | |
download | linux-1bb2bae2e6c7d94e3bc1fdce06baf31b8d811ed6.tar.xz linux-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.cputype | 1 |
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 |