WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] x86 hvm: Remove vendor-specific featur

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] x86 hvm: Remove vendor-specific feature masking of 0x1:ECX.
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 08:41:02 -0700
Delivery-date: Wed, 19 Aug 2009 08:44:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250696308 -3600
# Node ID a06f149d515723e0e9fbbc464323ff9616326355
# Parent  68ea3be8b6c14d6de5d7c87fc00e27a596d2a00d
x86 hvm: Remove vendor-specific feature masking of 0x1:ECX.

Vendors are respecting each others bits.

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
xen-unstable changeset:   20082:9001528d987e
xen-unstable date:        Wed Aug 19 13:16:50 2009 +0100
---
 tools/libxc/xc_cpuid_x86.c |   12 ------------
 1 files changed, 12 deletions(-)

diff -r 68ea3be8b6c1 -r a06f149d5157 tools/libxc/xc_cpuid_x86.c
--- a/tools/libxc/xc_cpuid_x86.c        Wed Aug 19 16:38:01 2009 +0100
+++ b/tools/libxc/xc_cpuid_x86.c        Wed Aug 19 16:38:28 2009 +0100
@@ -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).

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] x86 hvm: Remove vendor-specific feature masking of 0x1:ECX., Xen patchbot-3.4-testing <=