Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wt0PS3J8HzDq88 for ; Wed, 21 Jun 2017 19:52:28 +1000 (AEST) From: Michael Ellerman To: Michael Bringmann , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Bringmann , David Gibson , Reza Arbab , John Allen , Thomas Gleixner , Bharata B Rao , Shailendra Singh , "Aneesh Kumar K.V" , Sebastian Andrzej Siewior , Rashmica Gupta , Ingo Molnar , Tyrel Datwyler Subject: Re: [PATCH V6 1/2] powerpc/hotplug: Ensure enough nodes avail for operations In-Reply-To: References: Date: Wed, 21 Jun 2017 19:52:27 +1000 Message-ID: <878tklu0pw.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Michael Bringmann 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=) 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? cheers