Re: [PATCH V6 1/2] powerpc/hotplug: Ensure enough nodes avail for operations

From: Michael Ellerman
Date: Wed Jun 21 2017 - 05:52:34 EST

Michael Bringmann <mwb@xxxxxxxxxxxxxxxxxx> writes:

> powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU
> or memory resources, it may occur that the new resources are to be
> inserted into nodes that were not used for these resources at bootup.
> In the kernel, any node that is used must be defined and initialized
> at boot. In order to meet both needs, this patch adds a new kernel
> command line option (numnodes=<int>) for use by the PowerPC architecture-

Sorry, that's a hack.

I thought you were going to use firmware properties to find the set of
possible nodes. Did that not work?