search for: bitmaskof

Displaying 3 results from an estimated 3 matches for "bitmaskof".

Did you mean: bitmask
2011 Nov 24
0
[PATCH 5/6] X86: Prepare PCID/INVPCID for hvm
...f-by: Liu, Jinsong <jinsong.liu@intel.com> diff -r 1b62d4e08880 tools/libxc/xc_cpuid_x86.c --- a/tools/libxc/xc_cpuid_x86.c Thu Nov 17 23:09:45 2011 +0800 +++ b/tools/libxc/xc_cpuid_x86.c Thu Nov 17 23:16:30 2011 +0800 @@ -311,6 +311,7 @@ static void xc_cpuid_hvm_policy( bitmaskof(X86_FEATURE_SSSE3) | bitmaskof(X86_FEATURE_FMA) | bitmaskof(X86_FEATURE_CX16) | + bitmaskof(X86_FEATURE_PCID) | bitmaskof(X86_FEATURE_SSE4_1) | bitmaskof(X86_FEATURE_SSE4_2) |...
2007 Aug 09
0
[PATCH] x86/hvm: miscellaneous CPUID handling changes
...x, &ecx, &edx); - ebx &= NUM_THREADS_RESET_MASK; + switch ( input ) + { + case 0x00000001: + /* Mask off reserved bits. */ + ecx &= ~VMX_VCPU_CPUID_L1_ECX_RESERVED; - /* Unsupportable for virtualised CPUs. */ - ecx &= ~(bitmaskof(X86_FEATURE_VMXE) | - bitmaskof(X86_FEATURE_EST) | - bitmaskof(X86_FEATURE_TM2) | - bitmaskof(X86_FEATURE_CID)); + ebx &= NUM_THREADS_RESET_MASK; - edx &= ~(bitmaskof(X86_FEATURE_HT) | -...
2012 Sep 20
0
[PATCH 3/3] Expose tsc adjust to hvm guest
...1bc758 tools/libxc/xc_cpuid_x86.c --- a/tools/libxc/xc_cpuid_x86.c Thu Sep 20 00:03:25 2012 +0800 +++ b/tools/libxc/xc_cpuid_x86.c Thu Sep 20 21:50:55 2012 +0800 @@ -362,7 +362,8 @@ case 0x00000007: /* Intel-defined CPU features */ if ( input[1] == 0 ) { - regs[1] &= (bitmaskof(X86_FEATURE_BMI1) | + regs[1] &= (bitmaskof(X86_FEATURE_TSC_ADJUST) | + bitmaskof(X86_FEATURE_BMI1) | bitmaskof(X86_FEATURE_HLE) | bitmaskof(X86_FEATURE_AVX2) | bitmaskof(X86_FEATURE_SM...