Skip to contentSkip to conversation

Patch "ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel" has been added to the 3.14-stable tree

PATCH [email protected] 1 participant 1 message May 6, 2016

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel

to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-socfpga-fix-secondary-cpu-startup-in-thumb2-kernel.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 5616f36713ea77f57ae908bf2fef641364403c9f Mon Sep 17 00:00:00 2001

From: Sascha Hauer <[email protected]>
Date: Wed, 20 Apr 2016 13:34:31 +0000
Subject: ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel

From: Sascha Hauer <[email protected]>

commit 5616f36713ea77f57ae908bf2fef641364403c9f upstream.

The secondary CPU starts up in ARM mode. When the kernel is compiled in thumb2 mode we have to explicitly compile the secondary startup trampoline in ARM mode, otherwise the CPU will go to Nirvana.

---
 arch/arm/mach-socfpga/headsmp.S |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-socfpga/headsmp.S +1 -0
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 
 	.arch	armv7-a
+	.arm
 
 ENTRY(secondary_trampoline)
 	movw	r2, #:lower16:cpu1start_addr

Patches currently in stable-queue which might be from [email protected] are

queue-3.14/arm-socfpga-fix-secondary-cpu-startup-in-thumb2-kernel.patch