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 83713DDFB1 for ; Tue, 22 Apr 2008 07:14:10 +1000 (EST) Subject: Re: pci issue - wrong detection of pci ressources From: Benjamin Herrenschmidt To: Christian Ehrhardt In-Reply-To: <480C80B6.30904@linux.vnet.ibm.com> References: <48088F02.2060806@linux.vnet.ibm.com> <1208566122.6958.425.camel@pasglop> <480BA937.7050603@linux.vnet.ibm.com> <1208727408.7009.0.camel@pasglop> <480C80B6.30904@linux.vnet.ibm.com> Content-Type: text/plain Date: Tue, 22 Apr 2008 07:13:46 +1000 Message-Id: <1208812426.9640.44.camel@pasglop> Mime-Version: 1.0 Cc: Hollis Blanchard , linuxppc-dev@ozlabs.org Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2008-04-21 at 13:55 +0200, Christian Ehrhardt wrote: > Benjamin Herrenschmidt wrote: > >> Yes you're right. Early at the pci initialization are errors of the allocation for pi ressources. > >> And that are exactly the ressources failing later, so that pci initialization seem to be the reason for my problem. > >> Was there any simple solution (e.g. just somehow increase memory reserved for pci) when you came across that issue Johan ? > > > > Hrm... I was expecting to see a lot more output here, make sure you have > > "debug" on your command line (or enable early debug output, same > > effect). > > There is nothing more even with debug in kernel command line. Weird. pcibios_fixup_resources() should have printed things that I didn't see in your log, which is why I asked... I -think- your card is just asking too much, more than what we know how to assign, but that doesn't explain why it used to work. I'll have to dig a bit more. You can assign more by changing the "ranges" property in the .dts, I would expect the 44x PCI code I wrote to automatically adjust. Cheers, Ben.