Re: [PATCH 2/3] spapr_numa.c: create spapr_numa_initial_nvgpu_NUMA_id() helper

2021-01-28 Thread Greg Kurz
On Thu, 28 Jan 2021 12:17:30 -0300 Daniel Henrique Barboza wrote: > We'll need to check the initial value given to spapr->gpu_numa_id when > building the rtas DT, so put it in a helper for easier access and to > avoid repetition. > > Signed-off-by: Daniel Henrique Barboza > --- >

[PATCH 2/3] spapr_numa.c: create spapr_numa_initial_nvgpu_NUMA_id() helper

2021-01-28 Thread Daniel Henrique Barboza
We'll need to check the initial value given to spapr->gpu_numa_id when building the rtas DT, so put it in a helper for easier access and to avoid repetition. Signed-off-by: Daniel Henrique Barboza --- hw/ppc/spapr.c | 12 ++-- hw/ppc/spapr_numa.c | 14 ++