Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505AbZFWCXp (ORCPT ); Mon, 22 Jun 2009 22:23:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752205AbZFWCXh (ORCPT ); Mon, 22 Jun 2009 22:23:37 -0400 Received: from gate.crashing.org ([63.228.1.57]:54328 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751979AbZFWCXh (ORCPT ); Mon, 22 Jun 2009 22:23:37 -0400 Subject: Re: [PATCH] PCI: remove pcibios_scan_all_fns() From: Benjamin Herrenschmidt To: Chris Wright Cc: Matthew Wilcox , Alex Chiang , jbarnes@virtuousgeek.org, linux-arch@vger.kernel.org, Kyle McMartin , Tony Luck , Russell King , Arnd Bergmann , Yoshinori Sato , Jeff Dike , linux-kernel@vger.kernel.org, Ralf Baechle , David Howells , Paul Mundt , Ivan Kokshaysky , Ingo Molnar , "David S. Miller" In-Reply-To: <20090623014322.GA6729@sequoia.sous-sol.org> References: <20090622140807.25509.54448.stgit@bob.kio> <20090622143431.GT19977@parisc-linux.org> <20090623014322.GA6729@sequoia.sous-sol.org> Content-Type: text/plain Date: Tue, 23 Jun 2009 12:22:09 +1000 Message-Id: <1245723729.4017.31.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 821 Lines: 23 On Mon, 2009-06-22 at 18:43 -0700, Chris Wright wrote: > > I'd like to know what the KVM / Xen / ... people think about this. > > I don't know if they rely on function 5 being able to show up out of > > the blue. > > KVM does not rely on this. Typically a multi-function device's BDF > gets > remapped between host and guest (usually becoming a single function, > function 0). I'm surprised you don't hit problems with some devices/drivers here, I have distinct memories of seeing such things as drivers who need to know their own function number reliably. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/