From: linux@armlinux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] kuser updates for ARM-only vs Thumb
Date: Thu, 9 Feb 2017 12:17:57 +0000 [thread overview]
Message-ID: <20170209121756.GC27312@n2100.armlinux.org.uk> (raw)
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
--
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.
next reply other threads:[~2017-02-09 12:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 12:17 Russell King - ARM Linux [this message]
2017-02-09 12:18 ` [PATCH 1/4] ARM: add CPU_THUMB_CAPABLE to indicate possible Thumb support Russell King
2017-02-10 17:29 ` Stephen Boyd
2017-02-09 12:18 ` [PATCH 2/4] ARM: kuser: split out kuser code Russell King
2017-02-09 12:18 ` [PATCH 3/4] ARM: kuser: simplify kuser_cmpxchg* preprocessor conditionals Russell King
2017-02-09 12:18 ` [PATCH 4/4] ARM: kuser: split the kuser support for Thumb-capable and ARM-only Russell King
2017-02-09 19:25 ` Nicolas Pitre
2017-02-20 17:06 ` [PATCH 0/4] kuser updates for ARM-only vs Thumb Martin Kaiser
2017-02-20 17:24 ` Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170209121756.GC27312@n2100.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).