Subject: Re: powerpc/mm: allow memory hotplug into an offline node

From: Michael Ellerman <[email-masked]>
Date: Wed, 1 Feb 2017 12:05:31 +1100 (AEDT)

On Wed, 2016-11-16 at 16:45:03 UTC, Reza Arbab wrote:
> Relax the check preventing us from hotplugging into an offline node.
> 
> This limitation was added in commit 482ec7c403d2 ("[PATCH] powerpc numa:
> Support sparse online node map") to prevent adding resources to an
> uninitialized node.
> 
> These days, there is no harm in doing so. The addition will actually
> cause the node to be initialized and onlined; add_memory_resource()
> calls hotadd_new_pgdat() (if necessary) and node_set_online().
> 
> Cc: Balbir Singh <[email-masked]>
> Cc: Nathan Fontenot <[email-masked]>
> Cc: John Allen <[email-masked]>
> Signed-off-by: Reza Arbab <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/2a8628d41602dc9f988af051a657ee

cheers