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] vt-d: enhance the support of Interrupt Remapping EIM

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] vt-d: enhance the support of Interrupt Remapping EIM and x2APIC
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Fri, 4 Sep 2009 22:40:51 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Fri, 04 Sep 2009 07:41:20 -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: AcotbbL84DZrfULARIa+z1NQXjAFzw==
Thread-topic: [PATCH] vt-d: enhance the support of Interrupt Remapping EIM and x2APIC
Hi Keir,
Attached are 3 patches to enhance the support of Interrupt Remapping EIM and 
x2APIC in Xen.

Now Xen enables x2APIC if it finds BSP supports x2APIC, but this is not proper: 
we also have to check all the VT-d engines' IR and if all IR units support EIM, 
we will enable x2APIC and EIM.
EIM enables external devices to deliver interrupts (via IOAPIC or MSI) to CPUs 
with >8-bit APIC ID. Without EIM, even we enabled x2APIC in CPU's side, 
external devices can't deliver interrupt to CPUs with >8-bit APIC ID -- this 
kind of software usage is not architecturally proper. The recommended usage 
model is: we should only enable x2APIC and EIM when they are both supported by 
CPU and VT-d IR engines on the system.

Thanks,
-- Dexuan

Attachment: 01.patch
Description: 01.patch

Attachment: 02.patch
Description: 02.patch

Attachment: 03.patch
Description: 03.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] vt-d: enhance the support of Interrupt Remapping EIM and x2APIC, Cui, Dexuan <=