From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH] PCI: remove pcibios_scan_all_fns() Date: Wed, 24 Jun 2009 08:41:56 +1000 Message-ID: <1245796916.10356.40.camel@pasglop> References: <20090622140807.25509.54448.stgit@bob.kio> <20090622143431.GT19977@parisc-linux.org> <4A3FCB68.3030004@goop.org> <20090622183056.GY19977@parisc-linux.org> <1245714008.4017.7.camel@pasglop> <20090623190826.GJ19977@parisc-linux.org> <4A413C66.5010306@goop.org> <1245793758.10356.27.camel@pasglop> <4A41562F.1040901@goop.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:36371 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754356AbZFWWnV (ORCPT ); Tue, 23 Jun 2009 18:43:21 -0400 In-Reply-To: <4A41562F.1040901@goop.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Jeremy Fitzhardinge 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" , Avi Kivity , Ian Campbell On Tue, 2009-06-23 at 15:24 -0700, Jeremy Fitzhardinge wrote: > I guess we could fake up OF-like datastructures or something, but I > don't see what wide application that would have. It might help in this > case, but its a lot more complex than just calling > pci_scan_single_device() at the appropriate place. It would be indeed more complex and probably not something to do right now to solve that specific problem > Do you have any other cases in mind where it would be helpful? Well, it might be for virtual device discovery etc... but don't bother now. We might talk about it at KS for those interested. It's more something we see as useful for embedded archs at the moment but in the long run it might make sense for hypervisors as well. Cheers, Ben.