From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X944a-0006C2-FN for qemu-devel@nongnu.org; Sun, 20 Jul 2014 23:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X944S-0004fz-Nz for qemu-devel@nongnu.org; Sun, 20 Jul 2014 23:15:32 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:35466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X944S-0004ft-IN for qemu-devel@nongnu.org; Sun, 20 Jul 2014 23:15:24 -0400 Received: by mail-pa0-f43.google.com with SMTP id lf10so8938270pab.16 for ; Sun, 20 Jul 2014 20:15:23 -0700 (PDT) Message-ID: <53CC85C6.4070501@ozlabs.ru> Date: Mon, 21 Jul 2014 13:15:18 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1404357007-29507-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1404357007-29507-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/6] spapr: rework memory nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Nishanth Aravamudan , qemu-ppc@nongnu.org, Alexander Graf On 07/03/2014 01:10 PM, Alexey Kardashevskiy wrote: > c4177479 "spapr: make sure RMA is in first mode of first memory node" > introduced regression which prevents from running guests with memoryless > NUMA node#0 which may happen on real POWER8 boxes and which would make > sense to debug in QEMU. > > This patchset aim is to fix that and also fix various code problems in > memory nodes generation. > > These 2 patches could be merged (the resulting patch looks rather ugly): > spapr: Use DT memory node rendering helper for other nodes > spapr: Move DT memory node rendering to a helper > > > Alex, there are "numa: enable sparse node numbering ..." patches from Nish, > which set can go first so the other could rebase on top of it? Thanks! Ping. This is for 2.2 indeed. > > > > Changes: > v3: > * fixed bug with ram_size bigger than the only NUMA node > * fixed bug with 64bit addresses in memory node creation loop > > v2: > * minor cosmetic change in spapr_node0_size() > * spapr_populate_memory() fixed to work in a no-numa config > * patch changing max numa nodes is removed > > Please comment. Thanks! > > > > > Alexey Kardashevskiy (6): > spapr: Move DT memory node rendering to a helper > spapr: Use DT memory node rendering helper for other nodes > spapr: Refactor spapr_populate_memory() to allow memoryless nodes > spapr: Split memory nodes to power-of-two blocks > spapr: Add a helper for node0_size calculation > spapr: Fix ibm,associativity for memory nodes > > hw/ppc/spapr.c | 111 ++++++++++++++++++++++++++++++++------------------------- > 1 file changed, 63 insertions(+), 48 deletions(-) > -- Alexey