Skip to content

Fix secondary CPU boot for thumb2 kernels

Stephen Boyd linux-arm-kernel linux-arm-msm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: Add a secondary_startup that assumes ARM modearch/arm/kernel/head.S+7 -00 replies
2/2ARM: qcom: Use secondary_startup_arm()arch/arm/mach-qcom/platsmp.c+2 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCatalin Marinas
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project