On Fri, Nov 05, 2021 at 06:33:07PM -0700, Ricardo Neri wrote:
quoted hunk ↗ jump to hunk
Add the CPUID feature bit and the model-specific registers needed to
identify and configure the Intel Hardware Feedback Interface.
Cc: Andi Kleen <redacted>
Cc: Aubrey Li <redacted>
Cc: Len Brown <redacted>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Tim Chen <redacted>
Cc: "Ravi V. Shankar" <redacted>
Signed-off-by: Ricardo Neri <redacted>
---
arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/include/asm/msr-index.h | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h
index d0ce5cfd3ac1..d76d8daf1b2b 100644
--- a/arch/x86/include/asm/cpufeatures.h
+++ b/arch/x86/include/asm/cpufeatures.h
@@ -325,6 +325,7 @@
#define X86_FEATURE_HWP_ACT_WINDOW (14*32+ 9) /* HWP Activity Window */
#define X86_FEATURE_HWP_EPP (14*32+10) /* HWP Energy Perf. Preference */
#define X86_FEATURE_HWP_PKG_REQ (14*32+11) /* HWP Package Level Request */
+#define X86_FEATURE_INTEL_HFI (14*32+19) /* Hardware Feedback Interface */
X86_FEATURE_HFI
i.e., without the vendor name is perfectly fine.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette