From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 66F30B7CF4 for ; Thu, 28 Jan 2010 09:00:43 +1100 (EST) Subject: Re: [RFC PATCH] PCI-E broken on PPC (regression) From: Benjamin Herrenschmidt To: Jesse Barnes In-Reply-To: <20100127082624.4a91323a@jbarnes-piketon> References: <4B5D9FC5.5070600@linux.vnet.ibm.com> <20100125123849.111fa2d1@jbarnes-piketon> <20100125175025.4c74f412@jbarnes-piketon> <1264558256.3601.153.camel@pasglop> <20100127082624.4a91323a@jbarnes-piketon> Content-Type: text/plain; charset="UTF-8" Date: Thu, 28 Jan 2010 09:00:12 +1100 Message-ID: <1264629612.3601.176.camel@pasglop> Mime-Version: 1.0 Cc: Linux PCI , Jay Vosburgh , David Miller , Ron Mercer , kaneshige.kenji@jp.fujitsu.com, linuxppc-dev@lists.ozlabs.org, Breno Leitao List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2010-01-27 at 08:26 -0800, Jesse Barnes wrote: > > Thanks Ben. Any refactoring we need to handle this stuff better is > fine with me too. I guess on some platforms calling pci_setup_device > may cause problems with special platform devices? Well, we don't call pci_setup_device() because part of the deal is to avoid all of that config space reading that it does :-) Especially in the case of some of the IBM EADS bridges which don't let you access everything we may want. Cheers, Ben.