From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben.dooks@codethink.co.uk (Ben Dooks) Date: Tue, 3 Sep 2013 18:14:40 +0100 Subject: [PULL REQUEST v2] big-endian support Message-ID: <20130903171440.GA19528@codethink.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The following pull request is an update of the previous big-endian series. The chnages since v1 are: - Fix issue with THUMB2 reported by Dave Martin - Added Jason's ack for the mvebu - Added Thomas' tested by for several patches If possible, it would be great to get this in this merge window. The following changes since commit fa8218def1b1a16f0a410e2c1c767b4738cc81fa: Merge tag 'regmap-v3.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap (2013-08-27 10:10:30 -0700) are available in the git repository at: git://git.baserock.org/delta/linux.git baserock/311-rc7/be/core-v5 for you to fetch changes up to 297ad14ccf68a5ee75d7a1a8bd434e03b4bbae56: ARM: signal: sigreturn_codes should be endian neutral to work in BE8 (2013-09-03 17:37:01 +0100) ---------------------------------------------------------------- Ben Dooks (18): ARM: fix ARCH_IXP4xx usage of ARCH_SUPPORTS_BIG_ENDIAN ARM: asm: Add ARM_BE8() assembly helper ARM: fixup_pv_table bug when CPU_ENDIAN_BE8 ARM: set BE8 if LE in head code ARM: pl01x debug code endian fix ARM: twd: data endian fix ARM: smp_scu: data endian fixes ARM: highbank: enable big-endian ARM: mvebu: support running big-endian ARM: vexpress: add big endian support ARM: alignment: correctly decode instructions in BE8 mode. ARM: traps: use to get correct instruction order ARM: module: correctly relocate instructions in BE8 ARM: set --be8 when linking modules ARM: hardware: fix endian-ness in ARM: net: fix arm instruction endian-ness in bpf_jit_32.c ARM: Correct BUG() assembly to ensure it is endian-agnostic ARM: kdgb: use for data to be assembled as intruction Victor Kamensky (2): ARM: atomic64: fix endian-ness in atomic.h ARM: signal: sigreturn_codes should be endian neutral to work in BE8 arch/arm/Kconfig | 1 + arch/arm/Makefile | 1 + arch/arm/boot/compressed/head.S | 9 ++-- arch/arm/include/asm/assembler.h | 7 +++ arch/arm/include/asm/atomic.h | 26 +++++------ arch/arm/include/asm/bug.h | 10 +++-- arch/arm/include/asm/hardware/coresight.h | 8 ++-- arch/arm/include/asm/hardware/debug-pl01x.S | 2 + arch/arm/include/asm/kgdb.h | 3 +- arch/arm/kernel/Makefile | 3 +- arch/arm/kernel/entry-armv.S | 5 +-- arch/arm/kernel/entry-common.S | 4 +- arch/arm/kernel/head.S | 12 +++++ arch/arm/kernel/module.c | 57 ++++++++++++++---------- arch/arm/kernel/signal.c | 24 +--------- arch/arm/kernel/sigreturn_codes.S | 69 +++++++++++++++++++++++++++++ arch/arm/kernel/sleep.S | 1 + arch/arm/kernel/smp_scu.c | 14 +++--- arch/arm/kernel/smp_twd.c | 24 +++++----- arch/arm/kernel/traps.c | 24 ++++++---- arch/arm/mach-highbank/Kconfig | 1 + arch/arm/mach-ixp4xx/Kconfig | 4 -- arch/arm/mach-mvebu/Kconfig | 1 + arch/arm/mach-mvebu/coherency_ll.S | 3 ++ arch/arm/mach-mvebu/headsmp.S | 4 ++ arch/arm/mach-vexpress/Kconfig | 1 + arch/arm/mm/Kconfig | 6 +++ arch/arm/mm/abort-ev6.S | 5 +-- arch/arm/mm/alignment.c | 9 +++- arch/arm/mm/proc-v6.S | 4 +- arch/arm/mm/proc-v7.S | 4 +- arch/arm/net/bpf_jit_32.c | 6 ++- arch/arm/plat-versatile/headsmp.S | 2 + 33 files changed, 229 insertions(+), 125 deletions(-) create mode 100644 arch/arm/kernel/sigreturn_codes.S -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius