From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [patch 1/3] powerpc: fix pci_setup_phb_io_dynamic for pci_iomap From: Benjamin Herrenschmidt To: Arnd Bergmann In-Reply-To: <20070604181739.375615838@arndb.de> References: <20070604181438.569356702@arndb.de> <20070604181739.375615838@arndb.de> Content-Type: text/plain Date: Tue, 05 Jun 2007 08:19:08 +1000 Message-Id: <1180995548.31677.68.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, cbe-oss-dev@ozlabs.org, Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2007-06-04 at 20:14 +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > We had a problem on a system with only dynamically allocated > PCI buses (using of_pci_phb_driver) in combination with libata. > This setup ended up having no "primary" phb, which means > that pci_io_base never got initialized and all IO port > numbers are 64 bit numbers, which is larger than the > PIO_MASK limit. That's for 2.6.22 ? I wonder if a better fix is to initialize pci_io_base statically and clear it in iSeries code... didn't I post a patch for that a while ago ? Ben.