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

[Xen-devel] [PATCH 3/3] x2APIC: improve enabling logic


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Date: Mon, 5 Jul 2010 15:08:17 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 05 Jul 2010 00:11:59 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcscENfSBw39p7IIR966IMA7J7OKAg==
  • Thread-topic: [PATCH 3/3] x2APIC: improve enabling logic

        This patch masks PIC and IOAPIC RTE's before x2APIC enabling, unmask 
and restore them after x2APIC enabling. It also really enables interrupt 
remapping before x2APIC enabling instead of just checking interrupt remapping 
setting.
        This patch also handles all x2APIC configuration including BIOS 
settings and command line settings. Especially, it handles that BIOS hands over 
in x2APIC mode (when there is apic id > 255). It checks if x2APIC is already 
enabled by BIOS. If already enabled, it will disable interrupt remapping and 
queued invalidation first, then enable them again.


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

Attachment: x2apic-logic.patch
Description: x2apic-logic.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®.