Hi, This new version contains changes made after reviews from Aneesh and David in v1.
changes from v1: - patches 1 and 2: switched places - patch 3: folded into patch 2 - patch 2: * only make CAS related changes when using the newest machine version - patch 3 (former 4): * only advertise FORM2 support for the newest machine version - patches 5 and 6 (former 6 and 7): * detect if 'device-node' was set in the command line, and if not, use the 'node' value when writing in the device tree v1 link: https://lists.gnu.org/archive/html/qemu-devel/2021-06/msg03617.html Daniel Henrique Barboza (7): spapr_numa.c: split FORM1 code into helpers spapr: move NUMA data init to post-CAS spapr_numa.c: base FORM2 NUMA affinity support spapr: simplify spapr_numa_associativity_init params nvdimm: add PPC64 'device-node' property spapr_numa, spapr_nvdimm: write secondary NUMA domain for nvdimms spapr: move memory/cpu less check to spapr_numa_FORM1_affinity_init() hw/mem/nvdimm.c | 31 +++++ hw/ppc/spapr.c | 60 ++++----- hw/ppc/spapr_hcall.c | 4 + hw/ppc/spapr_numa.c | 257 +++++++++++++++++++++++++++++++++--- hw/ppc/spapr_nvdimm.c | 5 +- include/hw/mem/nvdimm.h | 12 ++ include/hw/ppc/spapr.h | 1 + include/hw/ppc/spapr_numa.h | 6 +- include/hw/ppc/spapr_ovec.h | 1 + 9 files changed, 318 insertions(+), 59 deletions(-) -- 2.31.1