Skip to content

ARM: kprobes: asm warning fixes and UAL conversion

Nick Desaulniers linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest2 patches 4 repliesIn review

Changes in v5 from the cover letter

* 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.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: kprobes: fix UNPREDICTABLE warningsarch/arm/probes/kprobes/test-arm.c+2 -22 replies
2/2ARM: kprobes: rewrite test-arm.c in UALarch/arm/probes/kprobes/test-arm.c arch/arm/probes/kprobes/test-core.h+146 -1452 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchArd BiesheuvelNathan Chancellor
1/2A-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

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(-)
Signature · 1 line
2.30.0.478.g8a0d178c01-goog