We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, Sir
We hope to do offline individual non-boot CPU of SMP cortex-CA7 in Linux.
But CPU0 is always alive.
Could we just save/restore non-boot CPU registers and let the specified CPU power down/wake up ?
Does this result to unstable status to Linux ?
Thank you for your help.
Best Regards,
Alex
offline CPU0 is possible on arm64 kernel,
https://elixir.bootlin.com/linux/v5.14.9/source/arch/arm64/kernel/smp.c#L293
but do not work on arm32 kernel, due to a lot of work is assigned to CPU0 by default, for example interrupt routing is default to CPU0