From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTom-00017n-0R for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:43:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzToa-00047r-Jx for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:43:35 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:36235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzToZ-00046W-Rb for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:43:24 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 25 Jun 2014 02:43:17 +1000 From: Alexey Kardashevskiy Date: Wed, 25 Jun 2014 02:43:05 +1000 Message-Id: <1403628191-5574-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v2 0/6] spapr: rework memory nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Alexander Graf 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 Changes: 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 | 110 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 63 insertions(+), 47 deletions(-) -- 2.0.0