Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
 x86/external-module-compat.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index 94cdb45..475643a 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -428,6 +428,22 @@ static inline int rdmsrl_safe(unsigned msr, unsigned long 
long *p)
 #define X86_FEATURE_MPX                (9*32+14) /* Memory Protection 
Extension */
 #endif
 
+#ifndef X86_FEATURE_AVX512F
+#define X86_FEATURE_AVX512F     (9*32+16) /* AVX-512 Foundation */
+#endif
+
+#ifndef X86_FEATURE_AVX512PF
+#define X86_FEATURE_AVX512PF    (9*32+26) /* AVX-512 Prefetch */
+#endif
+
+#ifndef X86_FEATURE_AVX512ER
+#define X86_FEATURE_AVX512ER    (9*32+27) /* AVX-512 Exponential and 
Reciprocal */
+#endif
+
+#ifndef X86_FEATURE_AVX512CD
+#define X86_FEATURE_AVX512CD    (9*32+28) /* AVX-512 Conflict Detection */
+#endif
+
 #if X86_FEATURE_XSAVEOPT < 10 * 32
 #undef X86_FEATURE_XSAVEOPT
 #define X86_FEATURE_XSAVEOPT   (10*32+0) /* XSAVEOPT instruction */
-- 
1.8.3.1


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to