[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.