Skip to content

ARM/PSCI: Fix THUMB2_KERNEL entry points

Florian Fainelli linux-arm-kernel lkml 1 version Applied

Status from this message: Applied to drivers/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3firmware/psci: Fix cpu_resume entry points with THUMB2_KERNELdrivers/firmware/psci.c+15 -32 replies
2/3ARM: psci: Fix secondary core boot with THUMB2_KERNELarch/arm/kernel/psci_smp.c+2 -21 reply
3/3soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNELdrivers/soc/bcm/brcmstb/pm/pm-arm.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ARM/PSCI: Fix THUMB2_KERNEL entry points

Hi all,

While playing with THUMB2_KERNEL on ARCH_BRCMSTB, several issues came up which are addressed by these 3 patches.

The THUMB() assembler macro is a no-op unless CONFIG_THUMB2_KERNEL so using it unconditionally for CONFIG_ARM should not cause a problem AFAICT.

Those patches can all be independently picked up by their respective maintainers and don't depent on one another.

Thank you!

Florian Fainelli (3):
firmware/psci: Fix cpu_resume entry points with THUMB2_KERNEL
ARM: psci: Fix secondary core boot with THUMB2_KERNEL
soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL

 arch/arm/kernel/psci_smp.c          |  4 ++--
 drivers/firmware/psci.c             | 18 +++++++++++++++---
 drivers/soc/bcm/brcmstb/pm/pm-arm.c |  2 +-
 3 files changed, 18 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.1