[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xc_cpuid_x86.c: No need to mask NX twice
On Mon, Sep 8, 2014 at 4:48 PM, z <alfred.z.song@xxxxxxxxx> wrote:
Hi, Jan I just checked Intel SDM. It seems you are right. RDTSCP could be used for both 64-bit and 32-bit architectures. Maybe the limit for 64-bit should be removed too. diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c index 710fd61..e7b50b1 100644 --- a/tools/libxc/xc_cpuid_x86.c +++ b/tools/libxc/xc_cpuid_x86.c @@ -193,7 +193,7 @@ static void intel_xc_cpuid_policy(  regs[3] &= (bitmaskof(X86_FEATURE_NX) |  bitmaskof(X86_FEATURE_LM) |  (is_pae ? bitmaskof(X86_FEATURE_SYSCALL) : 0) | - (is_pae ? bitmaskof(X86_FEATURE_RDTSCP) : 0)); + (bitmaskof(X86_FEATURE_RDTSCP));  break;  } Zhuo Â
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |