tools headers cpufeatures: Sync with the kernel sources
[sfrench/cifs-2.6.git] / tools / arch / x86 / include / asm / disabled-features.h
index 8f28fafa98b32e6f9b775f4c8b2d16713f9b7686..1231d63f836d81386f122c1022a7f5a25d503ef1 100644 (file)
 # define DISABLE_PTI           (1 << (X86_FEATURE_PTI & 31))
 #endif
 
-/* Force disable because it's broken beyond repair */
-#define DISABLE_ENQCMD         (1 << (X86_FEATURE_ENQCMD & 31))
+#ifdef CONFIG_INTEL_IOMMU_SVM
+# define DISABLE_ENQCMD                0
+#else
+# define DISABLE_ENQCMD                (1 << (X86_FEATURE_ENQCMD & 31))
+#endif
 
 #ifdef CONFIG_X86_SGX
 # define DISABLE_SGX   0