[PATCH 3/5] MIPS: SGI-IP27: Report all CPUs to the R10000 LL/SC workaround

From: Imre Kaloz

Date: Mon Oct 26 2026 - 09:46:49 EST


Pass the PRId of every enabled CPU in KLCONFIG to r10k_llsc_note_cpu(),
so that an affected CPU on any node keeps the workaround.

Signed-off-by: Imre Kaloz <kaloz@xxxxxxxxxx>
---
arch/mips/sgi-ip27/ip27-smp.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/mips/sgi-ip27/ip27-smp.c b/arch/mips/sgi-ip27/ip27-smp.c
index 62733e049570..6a5f5903a443 100644
--- a/arch/mips/sgi-ip27/ip27-smp.c
+++ b/arch/mips/sgi-ip27/ip27-smp.c
@@ -15,6 +15,7 @@
#include <asm/page.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
+#include <asm/r10k-llsc.h>
#include <asm/sn/agent.h>
#include <asm/sn/arch.h>
#include <asm/sn/gda.h>
@@ -49,6 +50,7 @@ static int node_scan_cpus(nasid_t nasid, int highest)
cputoslice(cpus_found) = acpu->cpu_info.physid;
sn_cpu_info[cpus_found].p_speed =
acpu->cpu_speed;
+ r10k_llsc_note_cpu(acpu->cpu_prid);
cpus_found++;
}
acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu,
--
2.47.3