From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 25 Feb 2010 15:39:13 +0100 (CET) Received: from localhost.localdomain ([127.0.0.1]:39459 "EHLO h5.dl5rb.org.uk" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S1491869Ab0BYOjK (ORCPT ); Thu, 25 Feb 2010 15:39:10 +0100 Received: from h5.dl5rb.org.uk (localhost.localdomain [127.0.0.1]) by h5.dl5rb.org.uk (8.14.3/8.14.3) with ESMTP id o1PEc44C007502; Thu, 25 Feb 2010 15:38:04 +0100 Received: (from ralf@localhost) by h5.dl5rb.org.uk (8.14.3/8.14.3/Submit) id o1PEc4GU007500; Thu, 25 Feb 2010 15:38:04 +0100 Date: Thu, 25 Feb 2010 15:38:04 +0100 From: Ralf Baechle To: Bjorn Helgaas Cc: Yoichi Yuasa , Thomas Bogendoerfer , Benjamin Herrenschmidt , linux-mips@linux-mips.org Subject: Re: [MIPS] Cobalt: convert legacy port addresses to GT-64111 bus addresses Message-ID: <20100225143804.GE29565@linux-mips.org> References: <201002241353.28391.bjorn.helgaas@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201002241353.28391.bjorn.helgaas@hp.com> User-Agent: Mutt/1.5.20 (2009-08-17) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 26047 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Wed, Feb 24, 2010 at 01:53:27PM -0700, Bjorn Helgaas wrote: > The GT-64111 PCI host bridge has no address translation mechanism, so > it can't generate legacy port accesses. This quirk fixes legacy device > port resources to contain the bus addresses actually generated by the > GT-64111. > > I think this is the approach Ben Herrenschmidt suggested long ago: > http://marc.info/?l=linux-kernel&m=119733290624544&w=2 > > This allows us to remove the IORESOURCE_PCI_FIXED hack from > pcibios_fixup_device_resources(), which converts bus addresses to CPU > addresses. IORESOURCE_PCI_FIXED denotes resources that can't be moved; > it has nothing to do with converting bus to CPU addresses. Thanks, queued for 2.6.34. Ralf