Skip to content

Make ARMv6 behave with TLS, VFPv3, and NEON

Tony Lindgren linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6arch/arm/include/asm/hwcap.h arch/arm/kernel/entry-armv.S arch/arm/kernel/setup.c +4 more+53 -391 reply
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -00 replies
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -04 replies
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -02 replies
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -01 reply
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -00 replies
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -01 reply
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -02 replies
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -00 replies
1/2arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6+0 -05 replies
2/2arm: Make VFPv3 usable on ARMv6arch/arm/include/asm/vfpmacros.h arch/arm/vfp/vfpmodule.c+25 -31 reply
2/2arm: Make VFPv3 usable on ARMv6+0 -00 replies
2/2arm: Make VFPv3 usable on ARMv6+0 -01 reply
2/2arm: Make VFPv3 usable on ARMv6+0 -00 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchCatalin MarinasNicolas Pitre
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
2/2A-b
2/2A-b
2/2A-b
2/2A-b

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] Make ARMv6 behave with TLS, VFPv3, and NEON

Hi all,

Here is an updated version of the earlier patch for the TLS [1], and a related patch for VFPv3 and NEON. Sorry it took a while before I got around updating this patch.

This series allows booting ARMv6 and 7 with the same kernel binary, such as omap24xx (ARMv6), omap34xx (ARMv7) and omap44xx (ARMv7 SMP).

To summarize the problem, ARM1136 has TLS and MVFR registers only starting with r1 p0, and at least omap2420 is earlier at r0 p2 and does not have TLS or MVFR registers.

Regards,

Tony

[1] arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6

    http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011667.html

---

Tony Lindgren (2):
arm: Replace CONFIG_HAS_TLS_REG with HWCAP_TLS and check for it on V6
arm: Make VFPv3 usable on ARMv6

 arch/arm/include/asm/hwcap.h     |    1 +
 arch/arm/include/asm/vfpmacros.h |   18 ++++++++++++++++++
 arch/arm/kernel/entry-armv.S     |   29 ++++++++++++++---------------
 arch/arm/kernel/setup.c          |   20 ++++++++++++++++++++
 arch/arm/kernel/traps.c          |   23 +++++++++++++----------
 arch/arm/mm/Kconfig              |   11 -----------
 arch/arm/mm/proc-v6.S            |    6 ++++--
 arch/arm/mm/proc-v7.S            |    2 +-
 arch/arm/vfp/vfpmodule.c         |   10 +++++++---
 9 files changed, 78 insertions(+), 42 deletions(-)
Signature · 1 line
Signature