[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] x86 hvm: Remove vendor-specific feature masking of 0x1:ECX.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |