From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFjwN-0005rC-6u for qemu-devel@nongnu.org; Tue, 30 May 2017 12:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFjwM-000554-2M for qemu-devel@nongnu.org; Tue, 30 May 2017 12:24:15 -0400 From: Igor Mammedov Date: Tue, 30 May 2017 18:23:55 +0200 Message-Id: <1496161442-96665-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/7] numa: code consolidation and fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Eduardo Habkost , David Gibson , Andrew Jones changelog since v2: (Eduardo) - keep original logic in when moving numa part into helper numa: consolidate cpu_preplug fixups/checks for pc/arm/spapr - drop "numa: fallback to default NUMA node instead of node 0" - split out monitor hunk into separate patch - split out spapr_fixup_cpu_numa_dt refactoring into separate patch - add extra patch to make default node-id calculation more robust changelog since v1: (Eduardo) - user error_abort in numa_cpu_pre_plug() - make default_mapping boolean - redo default mapping detection loop as a combo of for/if - return back lost TODO comment - new patch removing numa_node from generic CPUState - drop silence test patch as it's already in pull req on list - new patch [3/5] to fix missing _PXM/fdt nodes for implicitly mapped CPUs - new patch dropping fallback to node 0 git repo for testing: https://github.com/imammedo/qemu.git cphp_numa_cfg_follow_up_v3_cleanups_v3 CC: qemu-arm@nongnu.org CC: qemu-ppc@nongnu.org CC: Eduardo Habkost CC: David Gibson CC: Andrew Jones Igor Mammedov (7): numa: consolidate cpu_preplug fixups/checks for pc/arm/spapr numa: move default mapping init to machine numa: make sure that all cpus have has_node_id set if numa is enabled numa: make hmp 'info numa' fetch numa nodes from qmp_query_cpus() result numa: move numa_node from CPUState into target specific classes spapr: cleanup spapr_fixup_cpu_numa_dt() usage numa: cpu: calculate/set default node-ids after all -numa CLI options are parsed include/hw/boards.h | 3 +++ include/qom/cpu.h | 2 -- include/sysemu/numa.h | 10 +++++++++ target/arm/cpu.h | 2 ++ target/i386/cpu.h | 1 + target/ppc/cpu.h | 1 + hw/arm/virt-acpi-build.c | 4 +--- hw/arm/virt.c | 32 +++++++++------------------ hw/core/machine.c | 38 +++++++++++++++++++++++--------- hw/i386/acpi-build.c | 3 +-- hw/i386/pc.c | 42 ++++++++++++----------------------- hw/ppc/spapr.c | 57 ++++++++++++++++-------------------------------- hw/ppc/spapr_cpu_core.c | 4 +++- monitor.c | 11 ++++++---- numa.c | 43 +++++++++++++++--------------------- target/arm/cpu.c | 2 +- target/i386/cpu.c | 2 +- 17 files changed, 119 insertions(+), 138 deletions(-) -- 2.7.4