public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1] powerpc: Set PCIe MEM_BUS same as MEM_VIRT
Date: Mon, 23 Nov 2015 09:13:02 -0800	[thread overview]
Message-ID: <5653491E.5060606@freescale.com> (raw)
In-Reply-To: <1448152443-31955-1-git-send-email-yorksun@freescale.com>



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 <yorksun@freescale.com>
> 
> ---
> 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

      reply	other threads:[~2015-11-23 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-22  0:34 [U-Boot] [PATCH v1] powerpc: Set PCIe MEM_BUS same as MEM_VIRT York Sun
2015-11-23 17:13 ` York Sun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5653491E.5060606@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox