[tip: x86/cleanups] x86/kconfig: Remove CONFIG_AS_AVX512

From: tip-bot2 for Uros Bizjak
Date: Thu Aug 21 2025 - 08:53:46 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: ae7c0996c0e0f7d3bd3665020e1fbb4d99b7373e
Gitweb: https://git.kernel.org/tip/ae7c0996c0e0f7d3bd3665020e1fbb4d99b7373e
Author: Uros Bizjak <ubizjak@xxxxxxxxx>
AuthorDate: Tue, 19 Aug 2025 10:57:52 +02:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Thu, 21 Aug 2025 14:35:01 +02:00

x86/kconfig: Remove CONFIG_AS_AVX512

Commit

5f5305dea066 ("raid6: skip avx512 checks")

and commit

bc23fe6dc172 ("crypto: x86 - Remove CONFIG_AS_AVX512 handling")

removed all uses of CONFIG_AS_AVX512.

Remove check for assembler support of AVX-512 instructions.

Signed-off-by: Uros Bizjak <ubizjak@xxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Link: https://lore.kernel.org/20250819085855.333380-4-ubizjak@xxxxxxxxx
---
arch/x86/Kconfig.assembler | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/x86/Kconfig.assembler b/arch/x86/Kconfig.assembler
index ea0e9df..b1c59fb 100644
--- a/arch/x86/Kconfig.assembler
+++ b/arch/x86/Kconfig.assembler
@@ -1,11 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020 Jason A. Donenfeld <Jason@xxxxxxxxx>. All Rights Reserved.

-config AS_AVX512
- def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
- help
- Supported by binutils >= 2.25 and LLVM integrated assembler
-
config AS_WRUSS
def_bool $(as-instr64,wrussq %rax$(comma)(%rbx))
help