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-devel

[Xen-devel] [PATCH] ACPI: add support for x2APIC ACPI extensions

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] ACPI: add support for x2APIC ACPI extensions
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 16 Jul 2010 16:09:51 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 16 Jul 2010 01:12:13 -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
Thread-index: AcskvkRLAxDZVyv3TCmtYkkeoH8RAg==
Thread-topic: [Xen-devel] [PATCH] ACPI: add support for x2APIC ACPI extensions
(Most code is back ported from Linux Kernel.)

All logical processors with APIC ID values of 255 and greater will have their 
APIC reported through Processor X2APIC structure (type-9 entry type) and all 
logical processors with APIC ID less than 255 will have their APIC reported 
through legacy Processor Local APIC (type-0 entry type) only. This is the same 
case even for NMI structure reporting.

The Processor X2APIC Affinity structure provides the association between the 
X2APIC ID of a logical processor and the proximity domain to which the logical 
processor belongs.

This patch adds 2 new subtables to MADT and one new subtable to SRAT.

This patch also changes x86_acpiid_to_apicid from u8 to u32 for x2APIC ID, and 
changes mp_register_lapic to accept 32-bit id. But there are still some 8-bit 
apic id hardcode and assumptions in Xen code, it needs to be fixed in future.

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: x2apic-acpi.patch
Description: x2apic-acpi.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] ACPI: add support for x2APIC ACPI extensions, Han, Weidong <=