Displaying 1 result from an estimated 1 matches for "x86_feature_xsaveopt".
2011 May 18
1
Re: [PATCH] x86: clear CPUID output of leaf 0xd for Dom0 when xs
...function and return other information besides that XSAVEOPT, which would then be wiped out by the fall-through code. I''m thinking something like this. Let me know if I have misunderstood something.
+ case 0xd: /* XSAVE */
+ if (!xsave_enabled(current))
+ __clear_bit(X86_FEATURE_XSAVEOPT % 32, &a);
+ break;
case 5: /* MONITOR/MWAIT */
Roger R. Cruz
----------------------
Linux starting with 2.6.36 uses the XSAVEOPT instruction and has
certain code paths that look only at the feature bit reported through
CPUID leaf 0xd sub-leaf 1 (i.e. without qualifying the check...