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: [Xen-ia64-devel] PCI backend and slot functions

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: [Xen-devel] Re: [Xen-ia64-devel] PCI backend and slot functions
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Wed, 2 Aug 2006 16:30:12 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Aug 2006 07:26:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1154528139.21726.8.camel@lappy>
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: <200608021512.04612.Tristan.Gingold@xxxxxxxx> <1154528139.21726.8.camel@lappy>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mercredi 02 Août 2006 16:15, Alex Williamson a écrit :
> On Wed, 2006-08-02 at 15:12 +0200, Tristan Gingold wrote:
> > Hi,
> >
> > Currently PCI slot functions are not virtualized.  When I hide
> > 0000:06:01.1 it appears as 0000:00:00.1 and there is no function 0 for
> > the slot.  This is an issue because on linux/ia64, functions > 0 are not
> > probed if there is no function 0.
> >
> > How is it handled on x86 ?
> >
> > Should I add an option to virtualize slot functions ?
>
>    Yes, I think so.  The ia64 PCI discovery appears to more closely
> follow the PCI spec.  Both multi-function and single-function PCI
> devices must have configuration space at function 0.  I would guess x86
> may probe all functions to deal with old, buggy hardware.
Ok.

Could we virtualize functions as slots (ie two functions appear as two slots)?
Doing something more clever seems not that easy!

Tristan.

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