* [PATCH] powerpc: sparsemem should be the default on powernv
@ 2017-03-05 22:59 Benjamin Herrenschmidt
2017-03-06 9:41 ` Michael Ellerman
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2017-03-05 22:59 UTC (permalink / raw)
To: linuxppc-dev
This is especially true of POWER9 where memory between chips is
discontiguous.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc: sparsemem should be the default on powernv
2017-03-05 22:59 [PATCH] powerpc: sparsemem should be the default on powernv Benjamin Herrenschmidt
@ 2017-03-06 9:41 ` Michael Ellerman
2017-03-06 21:41 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ellerman @ 2017-03-06 9:41 UTC (permalink / raw)
To: Benjamin Herrenschmidt, linuxppc-dev
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
> This is especially true of POWER9 where memory between chips is
> discontiguous.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
>
> 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
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc: sparsemem should be the default on powernv
2017-03-06 9:41 ` Michael Ellerman
@ 2017-03-06 21:41 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2017-03-06 21:41 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
On Mon, 2017-03-06 at 20:41 +1100, Michael Ellerman wrote:
> > 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
>
> Why don't we just make it default y for BOOK3S_64?
>
> It's just the default after all, it can still be changed.
No objection.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-06 21:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-05 22:59 [PATCH] powerpc: sparsemem should be the default on powernv Benjamin Herrenschmidt
2017-03-06 9:41 ` Michael Ellerman
2017-03-06 21:41 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).