[PATCH RFC 2/3] powerpc/64: Always enable radix support for 64-bit Book 3S kernels

Paul Mackerras paulus at ozlabs.org
Mon Dec 5 19:03:39 AEDT 2016


This removes the ability for the user to choose whether or not to
include support for the radix MMU in kernels built to run on 64-bit
Book 3S machines.  Excluding radix support saves only about 25kiB
of text and 13kiB of data, a total of little over half a page.
Having the option expands the space of option combinations that
need to be tested, which is an ongoing burden on developers,
as well as increasing the number of #ifdefs in the code.
Given that the space savings are small, let's remove the option.

Signed-off-by: Paul Mackerras <paulus at ozlabs.org>
---
 arch/powerpc/platforms/Kconfig.cputype | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index ca2da30..52a71ca 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -333,13 +333,8 @@ config PPC_STD_MMU_64
 	depends on PPC_STD_MMU && PPC64
 
 config PPC_RADIX_MMU
-	bool "Radix MMU Support"
+	def_bool y
 	depends on PPC_BOOK3S_64
-	default y
-	help
-	  Enable support for the Power ISA 3.0 Radix style MMU. Currently this
-	  is only implemented by IBM Power9 CPUs, if you don't have one of them
-	  you can probably disable this.
 
 config PPC_MMU_NOHASH
 	def_bool y
-- 
2.7.4



More information about the Linuxppc-dev mailing list