spapr_numa: move NVLink2 associativity handling to spapr_numa.c
commitdd7e1d7ae431ee61b0e59bf505fc39dc17bba24b
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 3 Sep 2020 22:06:36 +0000 (3 19:06 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Sep 2020 00:08:43 +0000 (8 10:08 +1000)
tree97172641a426648dab81d92fbe02c5cc8b3e4182
parent0ee520126a2a1a2539e54b6d0879380cb0bf4ea4
spapr_numa: move NVLink2 associativity handling to spapr_numa.c

The NVLink2 GPUs works like a regular NUMA node with its
own associativity values, regardless of user input.

This can be handled inside spapr_numa_associativity_init(),
initializing NVGPU_MAX_NUM associativity arrays that can
be used by the GPUs.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20200903220639.563090-5-danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_numa.c
hw/ppc/spapr_pci_nvlink2.c