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/
Home Products Support Community News


[Xen-devel] [PATCH] x86: set CPUID topology leaf as unsupported for dom0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] x86: set CPUID topology leaf as unsupported for dom0
From: David Vrabel <david.vrabel@xxxxxxxxxx>
Date: Thu, 14 Jul 2011 15:21:29 +0100
Cc: David Vrabel <david.vrabel@xxxxxxxxxx>
Delivery-date: Thu, 14 Jul 2011 07:22:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User David Vrabel <david.vrabel@xxxxxxxxxx>
# Date 1310653121 -3600
# Branch cpuid
# Node ID 3de3126a6b2c496b884363f0142a2677ab0f4304
# Parent  b3705aae543b95fd7f6bb38c21b5f1edd2b70609
x86: set CPUID topology leaf as unsupported for dom0

The CPUID Extended Topology Enumerate leaf isn't useful for dom0.
Report it as unsupported.

Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>

diff -r b3705aae543b -r 3de3126a6b2c xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Thu Jul 14 12:32:04 2011 +0100
+++ b/xen/arch/x86/traps.c      Thu Jul 14 15:18:41 2011 +0100
@@ -861,6 +861,7 @@ static void pv_cpuid(struct cpu_user_reg
         /* fall through */
     case 5: /* MONITOR/MWAIT */
     case 0xa: /* Architectural Performance Monitor Features */
+    case 0xb: /* Extended Topology Enumerate */
     case 0x8000000a: /* SVM revision and features */
     case 0x8000001b: /* Instruction Based Sampling */
     case 0x8000001c: /* Light Weight Profiling */

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: set CPUID topology leaf as unsupported for dom0, David Vrabel <=