powerpc: sparsemem should be the default on powernv
PATCH 1/1 powerpc: sparsemem should be the default on powernv
This is especially true of POWER9 where memory between chips is discontiguous.
Signed-off-by Benjamin Herrenschmidt <[email protected]>
---
arch/powerpc/Kconfig +1 -1
@@ -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
Michael Ellerman
reviewerQuoted 11 lines · Benjamin Herrenschmidt
This is especially true of POWER9 where memory between chips is discontiguous.
Signed-off-by Benjamin Herrenschmidt <[email protected]>---
arch/powerpc/Kconfig +0
-0
arch/powerpc/Kconfig config ARCH_SPARSEMEM_ENABLE · line 583
Quoted 5 lines
arch/powerpc/Kconfig +1
-1@@ -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
Why don't we just make it default y for BOOK3S_64?
It's just the default after all, it can still be changed.
cheers
Quoted 13 lines · Michael Ellerman
Quoted 10 lines
arch/powerpc/Kconfig +0
-0@@ -580,7 +580,7 @@ config ARCH_SPARSEMEM_ENABLE
configARCH_SPARSEMEM_DEFAULT
def_bool y- depends on (SMP && PPC_PSERIES) || PPC_PS3 + depends on (SMP && PPC_PSERIES) || PPC_PS3 || PPC_POWERNVWhy don't we just make it default y for
BOOK3S_64?
Quoted 1 line
It's just the default after all, it can still be changed.
No objection.
Cheers,
Ben.