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/
Home Products Support Community News


Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN

To: "Shan, Haitao" <haitao.shan@xxxxxxxxx>, Neil Turton <nturton@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 03 Apr 2008 13:31:34 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Li, Xin B" <xin.b.li@xxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Thu, 03 Apr 2008 05:33:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <823A93EED437D048963A3697DB0E35DE013E2D9A@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciU0oBZmWeHZsxDQgSmv3Rj5p+TNAAr79cQAAEZ0uU=
Thread-topic: [Xen-devel] [PATCH 0/5] Add MSI support to XEN
User-agent: Microsoft-Entourage/
On 3/4/08 13:11, "Shan, Haitao" <haitao.shan@xxxxxxxxx> wrote:

> Thanks for trying the patches. The problem is caused by incompatibility
> between Xen and Dom0 kernel.
> Pci_vector_resources is to calculate available vectors. Xen assigns vector by
> start with vector 0x20 and offset = 0. This will confuse the code in
> pci_vector_resources.
> Maybe we should replace the function with a hypercall to acquire the number of
> available vectors.
> How do you think about it, Keir?

I may not understand the issue here, but in principle I do not particularly
want to have anything outside Xen handling real IRQ vectors. In which case
this confusion should not exist in the first place? I know the last round of
patches did have dom0 poking the MSI registers, and hence it knew about real
vectors, but that's being changed in the next round, right?

 -- Keir

Xen-devel mailing list

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