From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [Xen-ia64-devel] PCI backend and slot functions Date: Wed, 02 Aug 2006 08:15:39 -0600 Message-ID: <1154528139.21726.8.camel@lappy> References: <200608021512.04612.Tristan.Gingold@bull.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200608021512.04612.Tristan.Gingold@bull.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tristan Gingold Cc: xen-devel@lists.xensource.com, xen-ia64-devel List-Id: xen-devel@lists.xenproject.org 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.