From: David Vrabel Subject: [PATCH] x86: set CPUID topology leaf as unsupported for dom0 Date: Thu, 14 Jul 2011 15:21:29 +0100 Message-ID: <3de3126a6b2c496b8843.1310653289@qabil> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: David Vrabel List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User David Vrabel # 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 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 */