[nacked] reboot-disable-nonboot-cpus.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: reboot: disable nonboot CPUs
has been removed from the -mm tree.  Its filename was
     reboot-disable-nonboot-cpus.patch

This patch was dropped because it was nacked

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
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();
 }
 
_

Patches currently in -mm which might be from per.forlin@xxxxxxxxxxxxxx are


--
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


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux