(subset) [PATCH 0/4] Get rid of all NEON intrinsics stdint.h type hacks
Ard Biesheuvel
ardb at kernel.org
Thu Nov 19 04:08:51 PST 2026
On Thu, 19 Nov 2026, at 11:51, Catalin Marinas wrote:
> On Thu, 29 Oct 2026 14:50:20 +0100, Ard Biesheuvel wrote:
>> 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).
>>
>> [...]
>
> Applied the first three patches to arm64 (for-next/fixes), thanks! I
> also added a cc stable, though it won't be a straightforward
> cherry-pick.
Thanks!
> I left the last patch out, IIUC it's just clean-up rather
> than fixing a problem on arm32 and can go separately via Russell's tree
> during the next merge window (let me know if you think otherwise).
>
I'll let Nathan respond to that.
More information about the linux-arm-kernel
mailing list