KVM: x86: Remove AMX-TF32 enumeration
PATCH 1/1 KVM: x86: Remove AMX-TF32 enumeration
AMX-TF32 enumeration was added based on the Intel documentation [1]. The recent update removed the feature, indicating that the feature is no longer planned for hardware implementation.
[1] Intel Architecture Instruction Set Extensions and Future Features
---
Note: The feature first appeared in the September 2025 revision of the document and was removed in the June 2026 revision.
--- arch/x86/kvm/cpuid.c | 1 - arch/x86/kvm/reverse_cpuid.h | 1 - 2 files changed, 2 deletions(-)
arch/x86/kvm/cpuid.c +0 -1
@@ -1082,7 +1082,6 @@ void kvm_initialize_cpu_caps(void)F (AMX_COMPLEX_ALIAS ),F (AMX_FP16_ALIAS ),F (AMX_FP8 ), -F (AMX_TF32 ),F (AMX_AVX512 ), F(AMX_MOVRS), );
arch/x86/kvm/reverse_cpuid.h +0 -1
@@ -56,7 +56,6 @@#define X86_FEATURE_AMX_COMPLEX_ALIAS KVM_X86_FEATURE(CPUID_1E_1_EAX, 2)#define X86_FEATURE_AMX_FP16_ALIAS KVM_X86_FEATURE(CPUID_1E_1_EAX, 3)#define X86_FEATURE_AMX_FP8 KVM_X86_FEATURE(CPUID_1E_1_EAX, 4) -#define X86_FEATURE_AMX_TF32 KVM_X86_FEATURE(CPUID_1E_1_EAX, 6)#define X86_FEATURE_AMX_AVX512 KVM_X86_FEATURE(CPUID_1E_1_EAX, 7)#define X86_FEATURE_AMX_MOVRS KVM_X86_FEATURE(CPUID_1E_1_EAX, 8)
Signature · 1 line
2.53.0
Quoted 3 lines · Chang S. Bae
AMX-TF32 enumeration was added based on the Intel documentation [1]. The recent update removed the feature, indicating that the feature is no longer planned for hardware implementation.
Patch looks good to me.
BTW, I think the bit cannot be assigned for new other usage in the future and becomes reserved forever, right?
Quoted 37 lines
[1] Intel Architecture Instruction Set Extensions and Future Features
Cc Zhao Liu <[email protected]>Cc Binbin Wu <[email protected]>Signed-off-by Chang S. Bae <[email protected]>---
Note: The feature first appeared in the September 2025 revision of the document and was removed in the June 2026 revision.--- arch/x86/kvm/cpuid.c | 1 - arch/x86/kvm/reverse_cpuid.h | 1 - 2 files changed, 2 deletions(-)arch/x86/kvm/cpuid.c +0
-1@@ -1082,7 +1082,6 @@ void kvm_initialize_cpu_caps(void)F (AMX_COMPLEX_ALIAS ),F (AMX_FP16_ALIAS ),F (AMX_FP8 ), -F (AMX_TF32 ),F (AMX_AVX512 ), F(AMX_MOVRS), );arch/x86/kvm/reverse_cpuid.h +0
-1@@ -56,7 +56,6 @@#define X86_FEATURE_AMX_COMPLEX_ALIAS KVM_X86_FEATURE(CPUID_1E_1_EAX, 2)#define X86_FEATURE_AMX_FP16_ALIAS KVM_X86_FEATURE(CPUID_1E_1_EAX, 3)#define X86_FEATURE_AMX_FP8 KVM_X86_FEATURE(CPUID_1E_1_EAX, 4) -#define X86_FEATURE_AMX_TF32 KVM_X86_FEATURE(CPUID_1E_1_EAX, 6)#define X86_FEATURE_AMX_AVX512 KVM_X86_FEATURE(CPUID_1E_1_EAX, 7)#define X86_FEATURE_AMX_MOVRS KVM_X86_FEATURE(CPUID_1E_1_EAX, 8)
Quoted 2 lines · Xiaoyao Li
BTW, I think the bit cannot be assigned for new other usage in the future and becomes reserved forever, right?
Reserving the bit forever looks contrary to the purpose of this patch. Right now the bit is already taken. And shipping processors will report that CPUID bit as zero. So this removal intentionally makes the software into the "it was never defined before" state. Whether the bit will eventually be repurposed is what I don't know. But that being said, I think it should be also backported to @stable.
Thanks,
Chang
Quoted 14 lines · Chang S. Bae
Date: Wed, 8 Jul 2026 21:01:18 +0000
From: "Chang S. Bae" <[email protected]>
Subject: [PATCH] KVM: x86: Remove AMX-TF32 enumeration
X-Mailer: git-send-email 2.51.0AMX-TF32 enumeration was added based on the Intel documentation [1]. The recent update removed the feature, indicating that the feature is no longer planned for hardware implementation.
[1] Intel Architecture Instruction Set Extensions and Future Features
Cc Zhao Liu <[email protected]>Cc Binbin Wu <[email protected]>Signed-off-by Chang S. Bae <[email protected]>
Quoted 7 lines
---
Note: The feature first appeared in the September 2025 revision of the document and was removed in the June 2026 revision.--- arch/x86/kvm/cpuid.c | 1 - arch/x86/kvm/reverse_cpuid.h | 1 - 2 files changed, 2 deletions(-)
LGTM,
Thanks,
Zhao
Quoted 2 lines · Zhao Liu
Reviewed-by Zhao Liu <[email protected]>
Thanks!
Quoted 9 lines · Chang S. Bae
AMX-TF32 enumeration was added based on the Intel documentation [1]. The recent update removed the feature, indicating that the feature is no longer planned for hardware implementation.
[1] Intel Architecture Instruction Set Extensions and Future Features
Cc Zhao Liu <[email protected]>Cc Binbin Wu <[email protected]>Signed-off-by Chang S. Bae <[email protected]>
One nit below.
Quoted 3 lines
---
Note: The feature first appeared in the September 2025 revision of the document and was removed in the June 2026 revision.
IMHO, the note is informative.
Is it better to move it to the body of the changelog?
Quoted 29 lines
--- arch/x86/kvm/cpuid.c | 1 - arch/x86/kvm/reverse_cpuid.h | 1 - 2 files changed, 2 deletions(-)arch/x86/kvm/cpuid.c +0
-1@@ -1082,7 +1082,6 @@ void kvm_initialize_cpu_caps(void)F (AMX_COMPLEX_ALIAS ),F (AMX_FP16_ALIAS ),F (AMX_FP8 ), -F (AMX_TF32 ),F (AMX_AVX512 ), F(AMX_MOVRS), );arch/x86/kvm/reverse_cpuid.h +0
-1@@ -56,7 +56,6 @@#define X86_FEATURE_AMX_COMPLEX_ALIAS KVM_X86_FEATURE(CPUID_1E_1_EAX, 2)#define X86_FEATURE_AMX_FP16_ALIAS KVM_X86_FEATURE(CPUID_1E_1_EAX, 3)#define X86_FEATURE_AMX_FP8 KVM_X86_FEATURE(CPUID_1E_1_EAX, 4) -#define X86_FEATURE_AMX_TF32 KVM_X86_FEATURE(CPUID_1E_1_EAX, 6)#define X86_FEATURE_AMX_AVX512 KVM_X86_FEATURE(CPUID_1E_1_EAX, 7)#define X86_FEATURE_AMX_MOVRS KVM_X86_FEATURE(CPUID_1E_1_EAX, 8)
Quoted 3 lines · Binbin Wu
On 7/9/2026 5:01 AM, Chang S. Bae wrote:
Reviewed-by Binbin Wu <[email protected]>
Thanks!
Quoted 9 lines
One nit below.
Quoted 3 lines
---
Note: The feature first appeared in the September 2025 revision of the document and was removed in the June 2026 revision.IMHO, the note is informative.
Is it better to move it to the body of the changelog?
Will do that.
Thanks,
Chang