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 0/6] Add MSI support to XEN

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0/6] Add MSI support to XEN
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Wed, 30 Apr 2008 15:17:23 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Wed, 30 Apr 2008 00:18:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <823A93EED437D048963A3697DB0E35DE014F155E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <823A93EED437D048963A3697DB0E35DE014F155E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciP14w6vOjg7j6MRbadB0OfiPPBYwatX2ewAAE3kWA=
Thread-topic: [PATCH 0/6] Add MSI support to XEN
Hi, Keir,
    
    Resend this mail as plain text mail. Sorry for my mistake.
    These patches are  modified  version of  the patches I sent about
one month before. These patches enable MSI support and limited MSI-X
support in XEN.

The basic idea including:
1) Keep vector global resource owned by xen, while split pirq into
per-domain information.
2) Domain0 kernel will operate msi resource for domain0/domU, while QEMU
will operate MSI resource for HVM domain. 
3) MSI/MSI-X capabilities are setup by Xen, Dom0 sees MSI as normal
PIRQ. 
4) MSI interrupts are handled like normal edge-triggered interrupts. 
 From my tests, I did not encounter MSI storm.

Per patch discription:
move_pci_function.patch
    move some function and header files to generic places that are
needed by MSI.
pirq_per_domain.patch
    changes pirq to per-domain 
msi_irq_xen.patch
    add MSI/MSI-X support to Xen. Most code is ported from 2.6.24.4
kernel.
msix_permission.patch
    remove io_mem permission for MSI-X, since MSI-X facilities are
allocted through and located in PCI BAR.
msi_passthrough.patch
    add MSI support to HVM domain.
msi_kernel.patch
    add MSI/MSI-X support for PV domains including dom0. 

    What is your comments on the patches, Keir?

Thanks!

Haitao Shan

 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>