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-ia64-devel

[Xen-devel] Re: [Xen-ia64-devel] PCI backend and slot functions

To: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: [Xen-devel] Re: [Xen-ia64-devel] PCI backend and slot functions
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 02 Aug 2006 08:15:39 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Aug 2006 07:16:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200608021512.04612.Tristan.Gingold@xxxxxxxx>
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>
Organization: OSLO R&D
References: <200608021512.04612.Tristan.Gingold@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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