From: Nicholas Piggin <npiggin@gmail.com> Date: 2021-11-05 13:30:03
In case the FORM2 distance table from firmware is not the expected size,
there is fallback code that just populates the lookup table as local vs
remote.
However it then continues on to use the distance table. Fix.
Cc: Aneesh Kumar K.V <redacted>
Fixes: 1c6b5a7e7405 ("powerpc/pseries: Add support for FORM2 associativity")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/mm/numa.c | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
In case the FORM2 distance table from firmware is not the expected size,
there is fallback code that just populates the lookup table as local vs
remote.
However it then continues on to use the distance table. Fix.
Reviewed-by: Aneesh Kumar K.V <redacted>
quoted hunk
Cc: Aneesh Kumar K.V <redacted>
Fixes: 1c6b5a7e7405 ("powerpc/pseries: Add support for FORM2 associativity")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/mm/numa.c | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2021-11-08 05:21:35
Nicholas Piggin [off-list ref] writes:
quoted hunk
In case the FORM2 distance table from firmware is not the expected size,
there is fallback code that just populates the lookup table as local vs
remote.
However it then continues on to use the distance table. Fix.
Cc: Aneesh Kumar K.V <redacted>
Fixes: 1c6b5a7e7405 ("powerpc/pseries: Add support for FORM2 associativity")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/mm/numa.c | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
But maybe before we do that we can rename it, because it is really easy
to confuse numa_dist_table and numa_distance_table if you don't look
closely.
cheers
From: Nicholas Piggin <npiggin@gmail.com> Date: 2021-11-08 13:54:38
Excerpts from Michael Ellerman's message of November 8, 2021 3:20 pm:
Nicholas Piggin [off-list ref] writes:
quoted
In case the FORM2 distance table from firmware is not the expected size,
there is fallback code that just populates the lookup table as local vs
remote.
However it then continues on to use the distance table. Fix.
Cc: Aneesh Kumar K.V <redacted>
Fixes: 1c6b5a7e7405 ("powerpc/pseries: Add support for FORM2 associativity")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/mm/numa.c | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2021-11-09 01:11:15
Nicholas Piggin [off-list ref] writes:
Excerpts from Michael Ellerman's message of November 8, 2021 3:20 pm:
quoted
Nicholas Piggin [off-list ref] writes:
quoted
In case the FORM2 distance table from firmware is not the expected size,
there is fallback code that just populates the lookup table as local vs
remote.
However it then continues on to use the distance table. Fix.
Cc: Aneesh Kumar K.V <redacted>
Fixes: 1c6b5a7e7405 ("powerpc/pseries: Add support for FORM2 associativity")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/mm/numa.c | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)