Re: [PATCH] x86/crc: drop checks of CONFIG_AS_VPCLMULQDQ
From: Eric Biggers
Date: Sun Jun 08 2025 - 19:40:54 EST
On Sat, May 31, 2025 at 02:13:18PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Now that the minimum binutils version supports VPCLMULQDQ (and the
> minimum clang version does too), there is no need to check for assembler
> support before compiling code that uses these instructions.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>
> I'd be glad to apply this to the crc tree. Arnd, let me know if you'd
> like to instead go with a patch that handles all of arch/x86/ at the
> same time. That would be fine with me too.
>
> arch/x86/lib/crc-pclmul-template.S | 7 -------
> arch/x86/lib/crc-pclmul-template.h | 3 +--
> 2 files changed, 1 insertion(+), 9 deletions(-)
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next
- Eric