Re: [PATCH] spapr_numa.c: FORM2 table handle nodes with no distance info

2021-11-08 Thread Daniel Henrique Barboza
On 11/8/21 01:22, Aneesh Kumar K.V wrote: Daniel Henrique Barboza writes: On 11/5/21 10:51, Nicholas Piggin wrote: A configuration that specifies multiple nodes without distance info results in the non-local points in the FORM2 matrix having a distance of 0. This causes Linux to complain "

Re: [PATCH] spapr_numa.c: FORM2 table handle nodes with no distance info

2021-11-08 Thread Nicholas Piggin
Excerpts from Aneesh Kumar K.V's message of November 8, 2021 2:22 pm: > Daniel Henrique Barboza writes: > >> On 11/5/21 10:51, Nicholas Piggin wrote: >>> A configuration that specifies multiple nodes without distance info >>> results in the non-local points in the FORM2 matrix having a distance o

Re: [PATCH] spapr_numa.c: FORM2 table handle nodes with no distance info

2021-11-07 Thread David Gibson
On Fri, Nov 05, 2021 at 03:52:13PM -0300, Daniel Henrique Barboza wrote: > > > On 11/5/21 10:51, Nicholas Piggin wrote: > > A configuration that specifies multiple nodes without distance info > > results in the non-local points in the FORM2 matrix having a distance of > > 0. This causes Linux to

Re: [PATCH] spapr_numa.c: FORM2 table handle nodes with no distance info

2021-11-07 Thread Aneesh Kumar K.V
Daniel Henrique Barboza writes: > On 11/5/21 10:51, Nicholas Piggin wrote: >> A configuration that specifies multiple nodes without distance info >> results in the non-local points in the FORM2 matrix having a distance of >> 0. This causes Linux to complain "Invalid distance value range" because

Re: [PATCH] spapr_numa.c: FORM2 table handle nodes with no distance info

2021-11-05 Thread Daniel Henrique Barboza
On 11/5/21 10:51, Nicholas Piggin wrote: A configuration that specifies multiple nodes without distance info results in the non-local points in the FORM2 matrix having a distance of 0. This causes Linux to complain "Invalid distance value range" because a node distance is smaller than the loca

[PATCH] spapr_numa.c: FORM2 table handle nodes with no distance info

2021-11-05 Thread Nicholas Piggin
A configuration that specifies multiple nodes without distance info results in the non-local points in the FORM2 matrix having a distance of 0. This causes Linux to complain "Invalid distance value range" because a node distance is smaller than the local distance. Fix this by building a simple loc