From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 23 Nov 2015 09:13:02 -0800 Subject: [U-Boot] [PATCH v1] powerpc: Set PCIe MEM_BUS same as MEM_VIRT In-Reply-To: <1448152443-31955-1-git-send-email-yorksun@freescale.com> References: <1448152443-31955-1-git-send-email-yorksun@freescale.com> Message-ID: <5653491E.5060606@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/21/2015 04:34 PM, York Sun wrote: > For 36-bit addressing mode, PCIe virtual memory addresses have been > different from PCI bus addresses. This causes confusion when trying > to access the PCI address manually. Previously it was believed > overlapping PCI(e) controllers' space would leave more room for large > memory. Actually u-boot has been using no more than 512MB for each > controller. Making the bus address same as virtual address simplifies > the address space, and users can access PCI(e) space under u-boot > prompt without calcuating the offset. > > No change for 32-bit mode as the addresses are consistent. > > Signed-off-by: York Sun > > --- > Tested on P4080DS, P1022DS, T2080QDS. > Defer this patch until we have a stronger need to access PCIe BARs under u-boot, or something else changes address allocation. York