Re: [PATCH] lib/crc: arm64: Assume a little-endian kernel

From: Ard Biesheuvel

Date: Wed Apr 01 2026 - 03:33:48 EST




On Wed, 1 Apr 2026, at 02:44, Eric Biggers wrote:
> Since support for big-endian arm64 kernels was removed, the CPU_LE()
> macro now unconditionally emits the code it is passed, and the CPU_BE()
> macro now unconditionally discards the code it is passed.
>
> Simplify the assembly code in lib/crc/arm64/ accordingly.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>
> This patch is targeting crc-next
>
> lib/crc/arm64/crc-t10dif-core.S | 56 ++++++++++++++++-----------------
> lib/crc/arm64/crc32-core.S | 9 ++----
> 2 files changed, 30 insertions(+), 35 deletions(-)
>

Reviewed-by: Ard Biesheuvel <ardb@xxxxxxxxxx>