Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wt6Jr2nqyzDq88 for ; Thu, 22 Jun 2017 00:18:52 +1000 (AEST) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5LEENlU109264 for ; Wed, 21 Jun 2017 10:18:49 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 2b7rg7xemh-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Jun 2017 10:18:49 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Jun 2017 08:18:48 -0600 Subject: Re: [PATCH V6 0/2] powerpc/dlpar: Correct display of hot-add/hot-remove CPUs and memory To: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Nathan Fontenot , ltc-virtual-io@lists.linux.ibm.com References: <8760fpu0mf.fsf@concordia.ellerman.id.au> From: Michael Bringmann Date: Wed, 21 Jun 2017 09:18:44 -0500 MIME-Version: 1.0 In-Reply-To: <8760fpu0mf.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8 Message-Id: <33eb7713-d75d-77ee-5326-2b9837893d0a@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , One of the patches was doubled and sent twice yesterday. Will update number regardless in future. On 06/21/2017 04:54 AM, Michael Ellerman wrote: > Michael Bringmann writes: > >> On Power systems with shared configurations of CPUs and memory, there >> are some issues with association of additional CPUs and memory to nodes >> when hot-adding resources. These patches address some of those problems. >> >> 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-specific code that defines the maximum number of nodes >> that the kernel will ever need in its current hardware environment. >> The boot code that initializes nodes for PowerPC will read this value >> and use it to ensure that all of the desired nodes are setup in the >> 'node_possible_map', and elsewhere. >> >> powerpc/numa: Correct the currently broken capability to set the >> topology for shared CPUs in LPARs. At boot time for shared CPU >> lpars, the topology for each shared CPU is set to node zero, however, >> this is now updated correctly using the Virtual Processor Home Node >> (VPHN) capabilities information provided by the pHyp. The VPHN handling >> in Linux is disabled, if PRRN handling is present. >> >> Signed-off-by: Michael Bringmann >> >> Michael Bringmann (2): >> powerpc/hotplug: Add option to define max nodes allowing dynamic >> growth of resources. >> powerpc/numa: Update CPU topology when VPHN enabled >> --- >> Changes in V6: >> -- Reorder some code to better eliminate unused functions in >> conditional builds. > > What changed between yesterday's V6 and this V6? > > If you're going to resend, please bump the version number, we have tools > that parse the subject and version, and resending multiple times with > the same number breaks those. > > cheers > > -- Michael W. Bringmann Linux Technology Center IBM Corporation Tie-Line 363-5196 External: (512) 286-5196 Cell: (512) 466-0650 mwb@linux.vnet.ibm.com