xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Zhuo Song <alfred.z.song@gmail.com>
To: xen-devel@lists.xen.org
Cc: ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com,
	jinsong.liu@alibaba-inc.com, ian.jackson@eu.citrix.com,
	Zhuo Song <alfred.z.song@gmail.com>,
	Zhuo Song <songzhuo.sz@alibaba-inc.com>,
	boyu.mt@alibaba-inc.com, JBeulich@suse.com
Subject: [PATCH v2 resend 2/2] xc_cpuid_x86.c: Remove limit for RDTSCP
Date: Tue,  9 Sep 2014 15:55:49 +0800	[thread overview]
Message-ID: <1410249349-21652-2-git-send-email-alfred.z.song@gmail.com> (raw)

Since RDTSCP could be used for both 64-bit and 32-bit architectures,
we do not need the tying to 64-bit in intel_xc_cpuid_policy().

Signed-off-by: Zhuo Song <songzhuo.sz@alibaba-inc.com>
---
 tools/libxc/xc_cpuid_x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c
index 710fd61..a4829ce 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;
     }
 
-- 
1.8.5.2 (Apple Git-48)

                 reply	other threads:[~2014-09-09  7:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1410249349-21652-2-git-send-email-alfred.z.song@gmail.com \
    --to=alfred.z.song@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=boyu.mt@alibaba-inc.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jinsong.liu@alibaba-inc.com \
    --cc=songzhuo.sz@alibaba-inc.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).