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] Re: [PATCH] bind passthroug pci device interrupt pins to INT

To: "He, Qing" <qing.he@xxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] bind passthroug pci device interrupt pins to INTA
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 20 May 2008 09:54:46 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 May 2008 01:55:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <37E52D09333DE2469A03574C88DBF40F01E37EEE@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: Aci6Mr/R/n520XTdTZqyrk6Z5fIzOwAJGc7y
Thread-topic: [PATCH] bind passthroug pci device interrupt pins to INTA
User-agent: Microsoft-Entourage/11.4.0.080122


On 20/5/08 05:34, "He, Qing" <qing.he@xxxxxxxxx> wrote:

> The original scheme is to use the interrupt pin in the physical pci
> configuration space. However, the use of interrupt pins other than INTA
> will likely cause problem when the number of assigned devices exceeds 8,
> e.g. dev 3, INTB and dev 11, INTA share the same girq. In this case, one
> machine may be left untracked and masked, any devices using the same
> machine irq (including those owned by other domains) is then blocked.
> 
> Just wonder if there is any need to expose multifunction devices (i.e.
> have to use INTB, etc.) to the guest in the future.
> 
> All comments and suggestions are welcomed.

Could you set the INT line to the function number? FN0->INTA, FN1->INTB,
...? This would then work for multi-fn devices, yet still most devices have
only fn0 and hence would use INTA as you desire.

 -- Keir



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