[PATCH v5 0/2] ARM: kprobes: asm warning fixes and UAL conversion

From: Nick Desaulniers
Date: Wed Feb 10 2021 - 21:52:40 EST


Clang's integrated assembler only supports UAL and rejects instructions
that are UNPREDICTABLE; KernelCI has been warning about those for awhile
now when using GAS (GCC or Clang) for allmodconfig builds.

Changes V4 -> V5:
* Make patch into series.
* Fix the UNPREDICTABLE warnings first.
* Add .syntax unified to fix the GCC build failure reported by 0day bot.
Changes V3 -> V4:
* use __inst_arm for movs based on resolution of
https://reviews.llvm.org/D95586.
Changes V2 -> V3:
* drop changes to test-thumb.c. That file is mutually exclusive with
test-arm.c based on CONFIG_THUMB2_KERNEL. LLVM requires more fixes for
.w suffixes for thumb2 mode.
Changes V1 -> V2:
* Fix additonal swpvsb case in test-arm.c when __LINUX_ARM_ARCH__ < 6,
reported by Arnd.
* Fix arch/arm/probes/kprobes/test-thumb.c, reported by Arnd.
* Modify the oneline to note I'm modifying test-*.c.

Nick Desaulniers (2):
ARM: kprobes: fix UNPREDICTABLE warnings
ARM: kprobes: rewrite test-arm.c in UAL

arch/arm/probes/kprobes/test-arm.c | 294 ++++++++++++++--------------
arch/arm/probes/kprobes/test-core.h | 1 +
2 files changed, 148 insertions(+), 147 deletions(-)

--
2.30.0.478.g8a0d178c01-goog