Skip to content

kuser updates for ARM-only vs Thumb

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchNicolas Pitre
SeriesR-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/4] kuser updates for ARM-only vs Thumb

A while back, an issue was raised about the return instruction used in the kuser page when building an ARMv4 and later environment.

In order to fix this, I suggested building the kuser code for both variants and selecting the appropriate version at run time. This seemed to be a simple solution, but due to the fix-ups and need to build the appropriate version for the Kconfig options selected, turned out to be not quite as trivial as I hoped.

Nevertheless, this patch series provides that solution.

As a side effect of this, the first patch is one which should be merged irrespective of the remainder as it provides a useful cleanup to the large number of dependencies for the ARM_THUMB option.

 arch/arm/kernel/Makefile     |  10 +++
 arch/arm/kernel/entry-armv.S | 198 -------------------------------------------
 arch/arm/kernel/kuser-t.S    |  13 +++
 arch/arm/kernel/kuser-v4.S   |  11 +++
 arch/arm/kernel/kuser.S      | 196 ++++++++++++++++++++++++++++++++++++++++++
 arch/arm/kernel/traps.c      |  37 +++++++-
 arch/arm/mm/Kconfig          |  31 +++++--
 7 files changed, 289 insertions(+), 207 deletions(-)
 create mode 100644 arch/arm/kernel/kuser-t.S
 create mode 100644 arch/arm/kernel/kuser-v4.S
 create mode 100644 arch/arm/kernel/kuser.S
Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.