Subject: [PATCH] powerpc: sparsemem should be the default on powernv

From: Benjamin Herrenschmidt <[email-masked]>
Date: Mon, 06 Mar 2017 09:59:56 +1100

This is especially true of POWER9 where memory between chips is
discontiguous.

Signed-off-by: Benjamin Herrenschmidt <[email-masked]>
---

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 4940917..c4b4c55 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -580,7 +580,7 @@ config ARCH_SPARSEMEM_ENABLE
 
 config ARCH_SPARSEMEM_DEFAULT
 	def_bool y
-	depends on (SMP && PPC_PSERIES) || PPC_PS3
+	depends on (SMP && PPC_PSERIES) || PPC_PS3 || PPC_POWERNV
 
 config SYS_SUPPORTS_HUGETLBFS
 	bool