[PATCH 0/2] Fix secondary CPU boot for thumb2 kernels

From: Stephen Boyd
Date: Wed Jan 21 2015 - 14:48:35 EST


Currently I can't boot up secondary CPUs on qcom platforms when I
compile the kernel for THUMB2 mode. This is because we always enter
the kernel in ARM mode regardless of what mode the kernel is compiled
for. This patchset adds a small wrapper to secondary_startup() called
secondary_startup_arm() that allows us to switch into THUMB2 mode if
we need to. If the kernel is compiled for ARM mode it shouldn't have
any effect.

Stephen Boyd (2):
ARM: Add a secondary_startup that assumes ARM mode
ARM: qcom: Use secondary_startup_arm()

arch/arm/kernel/head.S | 7 +++++++
arch/arm/mach-qcom/platsmp.c | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/