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 ESMTP id E0380DDE3B for ; Wed, 16 May 2007 06:46:20 +1000 (EST) Subject: Re: [PATCH 2/2] powerpc: Fix IO space on PCI busses created from of_platform From: Benjamin Herrenschmidt To: Arnd Bergmann In-Reply-To: <200705151524.39805.arnd.bergmann@de.ibm.com> References: <20070515041656.41CE7DDECA@ozlabs.org> <200705151524.39805.arnd.bergmann@de.ibm.com> Content-Type: text/plain Date: Wed, 16 May 2007 06:46:09 +1000 Message-Id: <1179261969.32247.195.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2007-05-15 at 15:24 +0200, Arnd Bergmann wrote: > > I think this still needs some logic to make sure we have at least one > primary PHB in the system. On a board that has all phbs probed by > of_platform code, we never set the pci_io_base variable. Point, I need to fix that too. > The easiest solution might be to statically initialize pci_io_base > to PHBS_IO_BASE. If it is different from that, we are already broken > because we would get _negative_ I/O port numbers for PHBs below > pci_io_base. If we do that we need to clear it in iSeries code though. Ben.