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 89C09B704C for ; Fri, 8 Jun 2012 07:32:45 +1000 (EST) Message-ID: <1339104753.24838.30.camel@pasglop> Subject: Re: [PATCH] PPC: PCI: Fix pcibios_io_space_offset() so it works for 32-bit ptr/64-bit rsrcs From: Benjamin Herrenschmidt To: Ben Collins Date: Fri, 08 Jun 2012 07:32:33 +1000 In-Reply-To: <489B8149-6E40-48B3-880F-EF8BE72E94BF@servergy.com> References: <4DC27253-67FC-4A55-8C78-7782D9D0CF53@servergy.com> <4FCFC870.40004@freescale.com> <16AB27C3-8709-4A7C-AFFE-42A0B658AC1D@servergy.com> <1339061428.24838.24.camel@pasglop> <489B8149-6E40-48B3-880F-EF8BE72E94BF@servergy.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Scott Wood , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2012-06-07 at 11:38 -0400, Ben Collins wrote: > > Note that oddly, the second range of bus addresses looks -more- > correct > > than the first one... > > Except that the first one is exactly the same bus address as my bare > metal system: > > pci_bus 0000:00: root bus resource [io 0xffbeb000-0xffbfafff] (bus > address [0x100000000-0x10000ffff]) > > I only have one PCIe RAID card on the bare metal system. Not > surprising I never noticed the problem on it directly. Can you show me the device-tree node for that PCI host bridge ? Cheers, Ben.