Received: from eggs.gnu.org ([2001:4830:134:3::10]:34882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciKcw-0002Hd-5q for qemu-devel@nongnu.org; Mon, 27 Feb 2017 07:42:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciKct-0007y5-3O for qemu-devel@nongnu.org; Mon, 27 Feb 2017 07:42:06 -0500 Date: Mon, 27 Feb 2017 13:41:58 +0100 From: Igor Mammedov Message-ID: <20170227134158.081ffe7b@nial.brq.redhat.com> In-Reply-To: <20170226224643.GG17615@umbus.fritz.box> References: <20170222063348.32176-38-david@gibson.dropbear.id.au> <1487761555-93223-1-git-send-email-imammedo@redhat.com> <20170224130357.GF17615@umbus.fritz.box> <20170224142921.495f6871@nial.brq.redhat.com> <20170226224643.GG17615@umbus.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 37/43] spapr: reuse machine->possible_cpus instead of cores[] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-devel@nongnu.org, agraf@suse.de, thuth@redhat.com, lvivier@redhat.com, qemu-ppc@nongnu.org, mdroth@linux.vnet.ibm.com, peter.maydell@linaro.org On Mon, 27 Feb 2017 09:46:43 +1100 David Gibson wrote: > On Fri, Feb 24, 2017 at 02:29:21PM +0100, Igor Mammedov wrote: > > On Sat, 25 Feb 2017 00:03:57 +1100 > > David Gibson wrote: > > > > > On Wed, Feb 22, 2017 at 12:05:55PM +0100, Igor Mammedov wrote: > > > > Replace SPAPR specific cores[] array with generic > > > > machine->possible_cpus and store core objects there. > > > > It makes cores bookkeeping similar to x86 cpus and > > > > will allow to unify similar code. > > > > It would allow to replace cpu_index based NUMA node > > > > mapping with property based one (for -device created > > > > cores) since possible_cpus carries board defined > > > > topology/layout. > > > > > > > > Signed-off-by: Igor Mammedov > > > > Acked-by: David Gibson > > > > Signed-off-by: David Gibson > > > > > > Sorry Igor, Peter has applied the original version. Can you resend > > > these updates as deltas against the applied versions of the patches. > > > > > > > --- > > > > v3: > > > > - drop "// TODO" comment as todo is completed in next patch anyway > > > > fixes checkpatch error wrt // comment > > there is no need for patches on top as the next applied patch > > 38/43 removed c++ style comment as part of removed > > spapr_query_hotpluggable_cpus(). > > Ok, good to hear. What about the other update patch you posted? that was posted as addition to this patch to fix merge conflict due to removal of TODO comment here, so ignore it as well.