On 14.11.2023 18:50, Krystian Hebel wrote: > If multiple CPUs called machine_restart() before actual restart took > place, but after boot CPU declared itself not online,
Can you help me please in identifying where this operation is? I can see two places where a CPU is removed from cpu_online_map, yet neither __stop_this_cpu() nor __cpu_disable() ought to be coming into play here. In fact I didn't think CPU0 was ever marked not-online. Except perhaps if we came through machine_crash_shutdown() -> nmi_shootdown_cpus(), but I'm sure you would have mentioned such a further dependency. Jan