[PATCH 1/2] perf tools: Sync the x86 cpufeatures header
From: TAKANO Mitsuhiro
Date: Wed Nov 25 2026 - 13:09:29 EST
X86_FEATURE_TSA_FILL_NO was added to the kernel copy in
commit cf27412f19c9 ("x86/bugs: Mitigate TSA on AMD Zen5") and not to
the copy perf carries, so check-headers.sh reports a difference:
diff -u tools/arch/x86/include/asm/cpufeatures.h \
arch/x86/include/asm/cpufeatures.h
Copy the line over, which is what the script asks for.
Signed-off-by: TAKANO Mitsuhiro <takano32@xxxxxxxxx>
---
tools/arch/x86/include/asm/cpufeatures.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/arch/x86/include/asm/cpufeatures.h b/tools/arch/x86/include/asm/cpufeatures.h
index 61930f0d4578..303467a498b8 100644
--- a/tools/arch/x86/include/asm/cpufeatures.h
+++ b/tools/arch/x86/include/asm/cpufeatures.h
@@ -432,6 +432,7 @@
#define X86_FEATURE_CPPC_PERF_PRIO (17*32+ 2) /* CPPC Floor Perf support */
#define X86_FEATURE_SMCA (17*32+ 3) /* "smca" Scalable MCA */
#define X86_FEATURE_BTB_CTX_ISOLATION (17*32+ 4) /* AMD: Branch predictions contexts isolated */
+#define X86_FEATURE_TSA_FILL_NO (17*32+ 5) /* AMD CPU not vulnerable to TSA-FILL */
/* Intel-defined CPU features, CPUID level 0x00000007:0 (EDX), word 18 */
#define X86_FEATURE_AVX512_4VNNIW (18*32+ 2) /* "avx512_4vnniw" AVX-512 Neural Network Instructions */
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
--
2.53.0