[PATCH] lib/crypto: arm64: Drop checks for CONFIG_KERNEL_MODE_NEON
Christoph Hellwig
hch at infradead.org
Tue Mar 17 07:45:30 PDT 2026
On Tue, Mar 17, 2026 at 12:09:34PM +0100, Ard Biesheuvel wrote:
> Acked-by: Ard Biesheuvel <ardb at kernel.org>
>
> Actually, we should just get rid of CONFIG_KERNEL_MODE_NEON entirely on arm64, although there is some code shared with ARM that would still need some checks. But anything that is arm64-only should never look at this at all.
I'll also drop it from the XOR series.
Talking about which (sorry for highjacking this thread), arm32 and arm64
have completely different neon XOR implementations, where arm32 uses
#pragma GCC optimize "tree-vectorize" or clang auto-vectorization of
the generic C implementation, and arm64 uses intrinsics. Is there any
chance those could share a single implementation?
More information about the linux-arm-kernel
mailing list