The patch titled Subject: reboot: disable nonboot CPUs has been added to the -mm tree. Its filename is reboot-disable-nonboot-cpus.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Per Forlin <per.forlin@xxxxxxxxxxxxxx> Subject: reboot: disable nonboot CPUs I have run into an issue on an ARM platform that prevents reboot unless the nonboot CPUs are brought down safetly. Disable the nonboot CPUs to safely migrate tasks and interrupts to the boot CPU. This will prevent the nonboot CPUs to interfer or block the boot CPU from being able to reboot the system successfully. Is there a reason for disabling nonboot CPUs for power_off but not reboot? I could make this patch ARM specific but I thought that other ARCHs may benefit from this patch too. Signed-off-by: Per Forlin <per.forlin@xxxxxxxxxxxxxx> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Cc: Serge Hallyn <serue@xxxxxxxxxx> Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sys.c | 1 + 1 file changed, 1 insertion(+) diff -puN kernel/sys.c~reboot-disable-nonboot-cpus kernel/sys.c --- a/kernel/sys.c~reboot-disable-nonboot-cpus +++ a/kernel/sys.c @@ -323,6 +323,7 @@ void kernel_restart_prepare(char *cmd) system_state = SYSTEM_RESTART; usermodehelper_disable(); device_shutdown(); + disable_nonboot_cpus(); syscore_shutdown(); } _ Subject: Subject: reboot: disable nonboot CPUs Patches currently in -mm which might be from per.forlin@xxxxxxxxxxxxxx are reboot-disable-nonboot-cpus.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html