[Qemu-devel] [PATCH v2 0/5] numa: code consolidation and fixes

Igor Mammedov posted 5 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1495550330-34087-1-git-send-email-imammedo@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
include/qom/cpu.h        |  2 --
include/sysemu/numa.h    |  1 +
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            | 16 ++--------------
hw/core/machine.c        | 34 ++++++++++++++++++++++++----------
hw/i386/acpi-build.c     |  3 +--
hw/i386/pc.c             | 21 ++-------------------
hw/ppc/spapr.c           | 41 ++++++++++++-----------------------------
hw/ppc/spapr_cpu_core.c  |  4 +++-
monitor.c                | 11 +++++++----
numa.c                   | 43 +++++++++++++++++--------------------------
target/arm/cpu.c         |  2 +-
target/i386/cpu.c        |  2 +-
16 files changed, 76 insertions(+), 112 deletions(-)
[Qemu-devel] [PATCH v2 0/5] numa: code consolidation and fixes
Posted by Igor Mammedov 6 years, 11 months ago
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_v2

CC: qemu-arm@nongnu.org
CC: qemu-ppc@nongnu.org
CC: Eduardo Habkost <ehabkost@redhat.com>
CC: David Gibson <david@gibson.dropbear.id.au>
CC: Andrew Jones <drjones@redhat.com>

Igor Mammedov (5):
  numa: consolidate cpu_preplug fixups/checks for pc/arm/spapr
  numa: move default mapping init to machine
  numa: make sure that all cpus in has has_node_id set if numa is
    enabled
  numa: fallback to default NUMA node instead of node 0
  numa: move numa_node from CPUState into target specific classes

 include/qom/cpu.h        |  2 --
 include/sysemu/numa.h    |  1 +
 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            | 16 ++--------------
 hw/core/machine.c        | 34 ++++++++++++++++++++++++----------
 hw/i386/acpi-build.c     |  3 +--
 hw/i386/pc.c             | 21 ++-------------------
 hw/ppc/spapr.c           | 41 ++++++++++++-----------------------------
 hw/ppc/spapr_cpu_core.c  |  4 +++-
 monitor.c                | 11 +++++++----
 numa.c                   | 43 +++++++++++++++++--------------------------
 target/arm/cpu.c         |  2 +-
 target/i386/cpu.c        |  2 +-
 16 files changed, 76 insertions(+), 112 deletions(-)

-- 
2.7.4