Re: [PATCH v8 3/7] spapr_numa.c: parametrize FORM1 macros

2021-09-20 Thread Greg Kurz
On Fri, 17 Sep 2021 18:27:58 -0300 Daniel Henrique Barboza wrote: > The next preliminary step to introduce NUMA FORM2 affinity is to make > the existing code independent of FORM1 macros and values, i.e. > MAX_DISTANCE_REF_POINTS, NUMA_ASSOC_SIZE and VCPU_ASSOC_SIZE. This patch > accomplishes that

[PATCH v8 3/7] spapr_numa.c: parametrize FORM1 macros

2021-09-17 Thread Daniel Henrique Barboza
The next preliminary step to introduce NUMA FORM2 affinity is to make the existing code independent of FORM1 macros and values, i.e. MAX_DISTANCE_REF_POINTS, NUMA_ASSOC_SIZE and VCPU_ASSOC_SIZE. This patch accomplishes that by doing the following: - move the NUMA related macros from spapr.h to spa