aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_cpuid_x86.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-08-19 13:16:50 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-08-19 13:16:50 +0100
commit5ae9d73d9301cdf95b6567be8fcf1631c3f0b66a (patch)
tree94f072a80c8eeb3bd4c06f2859010076ba282b8b /tools/libxc/xc_cpuid_x86.c
parent39b4fc59724a618a6af454d9b85f591bd7b8bf77 (diff)
downloadxen-5ae9d73d9301cdf95b6567be8fcf1631c3f0b66a.tar.gz
xen-5ae9d73d9301cdf95b6567be8fcf1631c3f0b66a.tar.bz2
xen-5ae9d73d9301cdf95b6567be8fcf1631c3f0b66a.zip
x86 hvm: Remove vendor-specific feature masking of 0x1:ECX.
Vendors are respecting each others bits. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Diffstat (limited to 'tools/libxc/xc_cpuid_x86.c')
-rw-r--r--tools/libxc/xc_cpuid_x86.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c
index f9ef0de10b..f31066a460 100644
--- a/tools/libxc/xc_cpuid_x86.c
+++ b/tools/libxc/xc_cpuid_x86.c
@@ -71,13 +71,6 @@ static void amd_xc_cpuid_policy(
{
switch ( input[0] )
{
- case 0x00000001:
- /* Mask Intel-only features. */
- regs[2] &= ~(bitmaskof(X86_FEATURE_SSSE3) |
- bitmaskof(X86_FEATURE_SSE4_1) |
- bitmaskof(X86_FEATURE_SSE4_2));
- break;
-
case 0x00000002:
case 0x00000004:
regs[0] = regs[1] = regs[2] = 0;
@@ -126,11 +119,6 @@ static void intel_xc_cpuid_policy(
{
switch ( input[0] )
{
- case 0x00000001:
- /* Mask AMD-only features. */
- regs[2] &= ~(bitmaskof(X86_FEATURE_POPCNT));
- break;
-
case 0x00000004:
/*
* EAX[31:26] is Maximum Cores Per Package (minus one).