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] [RFC][PATCH] AMD CPU core topology detection

To: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, <keir@xxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-devel] [RFC][PATCH] AMD CPU core topology detection
From: Wei Huang <wei.huang2@xxxxxxx>
Date: Thu, 6 Jan 2011 10:47:35 -0600
Delivery-date: Thu, 06 Jan 2011 08:49:33 -0800
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: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/20101207 Thunderbird/3.1.7
Hi Keir and Jan,

This patch is to support the new core pair topology introduced by AMD new CPUs, which introduces a new concept of core/compute unit/node. There is a new feature bit for topology extension in CPUID:0x80000001. Also a new CPUID (0x8000001E) is introduced for CPU topology enumeration. This patch collects the sibling information from a new CPUID and the info will be stored into the sibling map in Xen.

Please help review it. Comments are welcome.

Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>

Attachment: xen_amd_core_topology.txt
Description: xen_amd_core_topology.txt

Xen-devel mailing list