Skip to content

BSYM macro removal and secondary startup fixes

Rob Herring linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 0 repliesNew

Changes in v2 from the cover letter

- Add missing ENDPROC annotation for all secondary startup functions.
- Use Pawel's patch for ARM boards instead.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: versatile: Add missing ENDPROC to headsmp.Sarch/arm/mach-realview/platsmp.c arch/arm/mach-vexpress/platsmp.c arch/arm/plat-versatile/headsmp.S+3 -51 reply
2/7ARM: msm: Add missing ENDPROC to headsmp.Sarch/arm/mach-msm/headsmp.S+1 -00 replies
3/7ARM: ux500: add missing ENDPROC to headsmp.Sarch/arm/mach-ux500/headsmp.S+1 -01 reply
3/7ARM: ux500: add missing ENDPROC to headsmp.S+0 -00 replies
4/7ARM: exynos: remove incorrect BSYM usagearch/arm/mach-exynos/headsmp.S arch/arm/mach-exynos/platsmp.c+3 -31 reply
5/7ARM: imx: remove incorrect BSYM usagearch/arm/mach-imx/src.c+1 -21 reply
6/7ARM: highbank: remove incorrect BSYM usagearch/arm/mach-highbank/highbank.c+1 -21 reply
7/7ARM: make BSYM macro assembly onlyarch/arm/include/asm/unified.h+2 -21 reply

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchJon MedhurstShawn GuoDave Martin
1/7T-b A-b
2/7
3/7
3/7
4/7
5/7A-b A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/7] BSYM macro removal and secondary startup fixes

From: Rob Herring <[email protected]>

BSYM macro usage is generally unnecessary in .c files if assembly functions are properly annotated with ENTRY/ENDPROC. BSYM combined with properly annotated assembly functions or C functions generates a wrong address on Thumb2 builds causing secondary cores to fail to boot.

Tested Thumb2 SMP boot on highbank and imx6.

Changes in v2:
- Add missing ENDPROC annotation for all secondary startup functions.
- Use Pawel's patch for ARM boards instead.

Rob

Pawel Moll (1):
ARM: versatile: Add missing ENDPROC to headsmp.S

Rob Herring (6):
ARM: msm: Add missing ENDPROC to headsmp.S
ARM: ux500: add missing ENDPROC to headsmp.S
ARM: exynos: remove incorrect BSYM usage
ARM: imx: remove incorrect BSYM usage
ARM: highbank: remove incorrect BSYM usage
ARM: make BSYM macro assembly only

 arch/arm/include/asm/unified.h    |    4 ++--
 arch/arm/mach-exynos/headsmp.S    |    1 +
 arch/arm/mach-exynos/platsmp.c    |    5 ++---
 arch/arm/mach-highbank/highbank.c |    3 +--
 arch/arm/mach-imx/src.c           |    3 +--
 arch/arm/mach-msm/headsmp.S       |    1 +
 arch/arm/mach-realview/platsmp.c  |    3 +--
 arch/arm/mach-ux500/headsmp.S     |    1 +
 arch/arm/mach-vexpress/platsmp.c  |    4 +---
 arch/arm/plat-versatile/headsmp.S |    1 +
 10 files changed, 12 insertions(+), 14 deletions(-)
Signature · 1 line
1.7.5.4