Hi, Another spin for this rework of the existing NUMA support for pSeries, prior to incoming changes in how we calculate NUMA distance in the pseries machine. Changes here were made based on David Gibson's review of v3.
This patches were rebased using David's ppc-for-5.2 tree. changes from v3: - patches 1 to 4 in v3 got pushed to ppc-for-5.2 - patch 1 (former 5): * moved spapr_register_hypercall() to spapr_numa.c, turning h_home_node_associativity back to static - patch 2 (former 6): * using memcpy as suggested in the review of patch 2 of v3 - patch 3 (former 7): * fixed typo, variable size * using G_STATIC_ASSERT() instead of g_assert() v3 link: https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg01726.html Daniel Henrique Barboza (3): spapr: move h_home_node_associativity to spapr_numa.c spapr_numa: create a vcpu associativity helper spapr_numa: use spapr_numa_get_vcpu_assoc() in home_node hcall hw/ppc/spapr_hcall.c | 40 ------------------- hw/ppc/spapr_numa.c | 92 +++++++++++++++++++++++++++++++++++++++----- 2 files changed, 82 insertions(+), 50 deletions(-) -- 2.26.2