[PATCH v8 0/7] pSeries FORM2 affinity support

Daniel Henrique Barboza posted 7 patches 2 years, 7 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210917212802.424481-1-danielhb413@gmail.com
Maintainers: David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>
There is a newer version of this series
hw/ppc/spapr.c              |  41 +---
hw/ppc/spapr_hcall.c        |   7 +
hw/ppc/spapr_numa.c         | 380 ++++++++++++++++++++++++++++++------
include/hw/ppc/spapr.h      |  35 ++--
include/hw/ppc/spapr_numa.h |   1 +
include/hw/ppc/spapr_ovec.h |   1 +
6 files changed, 354 insertions(+), 111 deletions(-)
[PATCH v8 0/7] pSeries FORM2 affinity support
Posted by Daniel Henrique Barboza 2 years, 7 months ago
Hi,

This new version contains changes made in patch 7 after looking more
carefully in the auto-generated NUMA node issue. I also took the
opportunity to make a change that Greg requested in an earlier
review that didn't make to v7.


Changes from v7:
- patch 3:
  * removed redundant 'no FORM2 available yet' comments
- patch 7:
  * removed the unneeded handling of numa_state->num_nodes
- v7 link: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg04156.html

Changes from v6:
- patch 1:
  * added Greg's r-b
- patch 2:
  * added the missing NUMA nodes number check
  * added Greg's r-b
- patch 3 (former patch 4):
  * no changes.
- former patch 3 (associativity_reset()): dropped
- patch 4 (new):
  * added get_associativity()
  * do not allocate FORM1_assoc_array in the heap
- patch 5:
  * fixed typo
  * added new check function to be called in CAS
- patch 6:
  * do not allocate FORM2_assoc_array in the heap
- patch 7 (new):
  * FORM2 fixes to handle the implicit added QEMU NUMA node when there's
  no NUMA node added by the user.
- v6 link: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg02892.html

Daniel Henrique Barboza (7):
  spapr_numa.c: split FORM1 code into helpers
  spapr_numa.c: scrap 'legacy_numa' concept
  spapr_numa.c: parametrize FORM1 macros
  spapr_numa.c: rename numa_assoc_array to FORM1_assoc_array
  spapr: move FORM1 verifications to post CAS
  spapr_numa.c: FORM2 NUMA affinity support
  spapr_numa.c: handle auto NUMA node with no distance info

 hw/ppc/spapr.c              |  41 +---
 hw/ppc/spapr_hcall.c        |   7 +
 hw/ppc/spapr_numa.c         | 380 ++++++++++++++++++++++++++++++------
 include/hw/ppc/spapr.h      |  35 ++--
 include/hw/ppc/spapr_numa.h |   1 +
 include/hw/ppc/spapr_ovec.h |   1 +
 6 files changed, 354 insertions(+), 111 deletions(-)

-- 
2.31.1