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

Re: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the uni

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 05 Mar 2009 09:22:28 +0000
Cc: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 05 Mar 2009 01:23:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090305090507.GB12961@xxxxxxxxxxxx>
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: AcmdcX8ybbnoRo6BSgWDTlnETrLsZAAAmfYo
Thread-topic: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough
User-agent: Microsoft-Entourage/12.15.0.081119
On 05/03/2009 09:05, "Simon Horman" <horms@xxxxxxxxxxxx> wrote:

> * pass-through devices may not share a GSI with another pass-through
>   device, and its better if they don't share a GSI with an ioemu
>   device either

Why is such sharing disallowed? Is this a problem with mapping multiple MSI
sources to a single level-triggered GSI? If we can reliably map one MSI to
an emulated GSI, I would have thought that wire-ORing them would be easy,
but perhaps the emulation is dodgy to begin with, even without sharing?

> I can't actually get a system with this mapping to boot
> (which prehaps means its flawed for the first few devices).
> But a fundamental problem (e.g. for users) with using
> such an allocation stratergy?

Yes, a sparse mapping into the devfn space is absolutely fine. Indeed you'll
be needing to consider all that space to make efficient use of the currently
available 32 GSIs.

 -- Keir



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

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