[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210211025149.3544593-1-ndesaulniers@google.com>
Date: Wed, 10 Feb 2021 18:51:47 -0800
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Russell King <linux@...linux.org.uk>,
Arnd Bergmann <arnd@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>
Cc: clang-built-linux@...glegroups.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>,
Peter Smith <peter.smith@....com>,
Renato Golin <rengolin@...temcall.eu>,
David Spickett <david.spickett@...aro.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: [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(-)
--
2.30.0.478.g8a0d178c01-goog
Powered by blists - more mailing lists