Get rid of all NEON intrinsics stdint.h type hacks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | lib/crc: Don't include <linux/types.h> in NEON intrinsics codelib/ | +5 | 1 reply | |
| 2/4 | xor: arm/arm64: Move NEON xor_gen() dispatch into the glue codelib/ lib/ lib/ +3 more | +56 | 0 replies | |
| 3/4 | arm64: Drop stdint.h type overrides from asm/neon-intrinsics.harch/ | +5 | 0 replies | |
| 4/4 | ARM: Drop stdint.h type overrides from asm/neon-intrinsics.hDocumentation/ arch/ | +12 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nathan Chancellor | Eric Biggers | Thomas Huth |
|---|---|---|---|
| Series | T-b | R-b | |
| 1/4 | R-b | ||
| 2/4 | |||
| 3/4 | |||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/4] Get rid of all NEON intrinsics stdint.h type hacks
From: Ard Biesheuvel <[email protected]>
Recent Clang has become more finicky when it comes to overriding the type macros that the freestanding stdint.h consumes when defining the uintXX_t types, and so it is time to finally get rid of this entirely.
So instead of making stdint.h (which comes from the compiler when -ffreestanding is set on the command line) agree with the kernel's linux/types.h header, avoid the latter entirely in the compilation units that actually use the NEON intrinsics (which are always leaf functions that are not tightly coupled to kernel APIs).
Note that the disagreements are about long vs. long long on arm64, and long vs. int on 32-bit ARM, so never about types that actually have conflicting representations.
Ard Biesheuvel (4):
lib/crc: Don't include <linux/types.h> in NEON intrinsics code
xor: arm/arm64: Move NEON xor_gen() dispatch into the glue code
arm64: Drop stdint.h type overrides from asm/neon-intrinsics.h
ARM: Drop stdint.h type overrides from asm/neon-intrinsics.h
Documentation/arch/arm/kernel_mode_neon.rst | 10 +++-- arch/arm/include/asm/neon-intrinsics.h | 43 +++----------------- arch/arm64/include/asm/neon-intrinsics.h | 24 +++-------- lib/crc/crc64-neon.c | 10 ++--- lib/raid/xor/arm/xor-neon-glue.c | 3 ++ lib/raid/xor/arm/xor-neon.h | 16 +++++++- lib/raid/xor/arm64/xor-eor3.c | 15 ++----- lib/raid/xor/arm64/xor-neon-glue.c | 5 +++ lib/raid/xor/arm64/xor-neon.h | 31 ++++++++++++-- lib/raid/xor/xor-neon.c | 16 ++------ 10 files changed, 78 insertions(+), 95 deletions(-)
Signature · 1 line
2.56.0.313.g2479322e68-goog