Skip to contentSkip to conversation

x86: add change missing in c/s 23726:fd97ca086df6

PATCH New Jan Beulich 1 participant 1 message Jul 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: add change missing in c/s 23726:fd97ca086df6

The early "do we need to do anything" check needs adjustment, too. Thanks to Haitao Shan for pointing this out.

xen/arch/x86/cpu/intel.c +2 -1
@@ -61,7 +61,8 @@ static void __devinit set_cpuidmask(cons
 	const char *extra = "";
 
 	if (!~(opt_cpuid_mask_ecx & opt_cpuid_mask_edx &
-	       opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx))
+	       opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx &
+               opt_cpuid_mask_xsave_eax))
 		return;
 
 	/* Only family 6 supports this feature  */

The early "do we need to do anything" check needs adjustment, too. Thanks to Haitao Shan for pointing this out.

xen/arch/x86/cpu/intel.c +2 -1
@@ -61,7 +61,8 @@ static void __devinit set_cpuidmask(cons
 	const char *extra = "";
 
 	if (!~(opt_cpuid_mask_ecx & opt_cpuid_mask_edx &
-	       opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx))
+	       opt_cpuid_mask_ext_ecx & opt_cpuid_mask_ext_edx &
+               opt_cpuid_mask_xsave_eax))
 		return;
 
 	/* Only family 6 supports this feature  */

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel