Re: [PATCH] MIPS: smp: report dying CPU to RCU in stop_this_cpu()
From: Sebastian Andrzej Siewior
Date: Mon Jun 08 2026 - 04:25:46 EST
On 2026-06-05 13:12:38 [+0200], Jonas Jelonek wrote:
> Hi,
Hi,
> On 05.06.26 12:34, Sebastian Andrzej Siewior wrote:
> > Does
> > echo 0 > /sys/devices/system/cpu/cpu1/online
> >
> > lead to the same problem?
>
> Funny, my device doesn't have this 'online' file, neither for the
> other CPUs. So it seems this CPU hotplug isn't supported/used here?
> Or am I missing a Kconfig option for that?
>
> I'm working on a Realtek RTL931x SoC here, it has MIPS interAptiv
> cores. I can provide more information if needed.
looking at this again it sort of makes sense. The arm64 case is an
exception - not the default. It appears on mips it is the default
shutdown action and probably reboot.
I would have to take another look if mips is really the only arch doing
this or if other are affected, too.
No objections from my side. If you could update the commit message
noting that arm64 is not the default but an exception (the CPU was
going online and is aborting) and that MIPS shutdowns all CPUs but does
not use CPU-hotplug mechanism for doing so.
> Best,
> Jonas
Sebastian