[PATCH 00/14] ARM: randconfig build fixes

From: Arnd Bergmann
Date: Tue Sep 28 2021 - 11:42:01 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

Hi Russell,

This is a set of patches that address various problems building random
configurations. Most of these are older and have been sitting in my
collection of random fixes that I need to get back to. After the -Werror
changes for v5.15, I did that and collected all the patches that fix
something I actually run into. These are the arm32 specific ones that
I think we could merge right away, either for v5.15 as a bugfix or
for v5.16.

Let me know if you have any objections. As the patches are mostly
trivial, I would otherwise send them to your patch tracker once you've
had time to take a look.

There are a few more patches that I'm currently using, but those
are the ones that that are not ready to be merged, either because
they have been rejected before or because they are known to break
something.

Arnd

Arnd Bergmann (13):
ARM: RiscPC needs older gcc version
ARM: patch: fix BE32 compilation
ARM: remove duplicate memcpy() definition
ARM: kprobes: address gcc -Wempty-body warning
ARM: ARMv7-M uses BE-8, not BE-32
ARM: disallow CONFIG_THUMB with ARMv4
ARM: fix link warning with XIP + frame-pointer
ARM: kprobes: fix arch_init_kprobes() prototype
ARM: allow compile-testing without machine record
ARM: only warn about XIP address when not compile testing
ARM: kasan: work around LPAE build warning
ARM: add CONFIG_PHYS_OFFSET default values
[RFC] ARM: forbid ftrace with clang and thumb2_kernel

Nick Desaulniers (1):
ARM: use .arch directives instead of assembler command line flags

arch/arm/Kconfig | 12 +++++++-----
arch/arm/boot/compressed/Makefile | 2 --
arch/arm/boot/compressed/decompress.c | 2 ++
arch/arm/common/Makefile | 2 --
arch/arm/common/mcpm_head.S | 2 ++
arch/arm/common/vlock.S | 2 ++
arch/arm/include/asm/opcodes.h | 9 +++++++--
arch/arm/kernel/Makefile | 2 --
arch/arm/kernel/hyp-stub.S | 2 ++
arch/arm/kernel/swp_emulate.c | 1 +
arch/arm/kernel/vmlinux-xip.lds.S | 8 +++++++-
arch/arm/kernel/vmlinux.lds.S | 2 ++
arch/arm/lib/Makefile | 4 ----
arch/arm/lib/delay-loop.S | 4 ++++
arch/arm/mach-at91/Makefile | 3 ---
arch/arm/mach-at91/pm_suspend.S | 4 ++++
arch/arm/mach-imx/Makefile | 3 ---
arch/arm/mach-imx/headsmp.S | 2 ++
arch/arm/mach-imx/resume-imx6.S | 2 ++
arch/arm/mach-imx/suspend-imx6.S | 2 ++
arch/arm/mach-mvebu/Makefile | 3 ---
arch/arm/mach-mvebu/coherency_ll.S | 1 +
arch/arm/mach-mvebu/pmsu.c | 1 +
arch/arm/mach-npcm/Makefile | 2 --
arch/arm/mach-npcm/headsmp.S | 2 ++
arch/arm/mm/Kconfig | 4 ++--
arch/arm/mm/Makefile | 15 ---------------
arch/arm/mm/abort-ev6.S | 1 +
arch/arm/mm/abort-ev7.S | 1 +
arch/arm/mm/cache-v6.S | 2 ++
arch/arm/mm/cache-v7.S | 2 ++
arch/arm/mm/cache-v7m.S | 2 ++
arch/arm/mm/copypage-feroceon.c | 1 +
arch/arm/mm/kasan_init.c | 2 +-
arch/arm/mm/proc-v6.S | 2 ++
arch/arm/mm/proc-v7-2level.S | 2 ++
arch/arm/mm/proc-v7.S | 2 ++
arch/arm/mm/tlb-v6.S | 2 ++
arch/arm/mm/tlb-v7.S | 2 ++
arch/arm/probes/kprobes/core.c | 2 +-
arch/arm/probes/kprobes/test-core.h | 2 +-
drivers/memory/Makefile | 2 --
drivers/memory/ti-emif-sram-pm.S | 1 +
43 files changed, 75 insertions(+), 51 deletions(-)

--
Cc: Ard Biesheuvel <ardb@xxxxxxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
Cc: llvm@xxxxxxxxxxxxxxx
2.29.2