All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers
Date: Wed, 11 May 2016 09:33:11 -0700	[thread overview]
Message-ID: <57335EC7.4090901@nxp.com> (raw)
In-Reply-To: <1462983949-206205-1-git-send-email-agraf@suse.de>

On 05/11/2016 09:25 AM, Alexander Graf wrote:
> While testing our shiny new EFI support, I stumbled across systems that
> have disk I/O hardware that can only access the lower 32bits of our
> physical address space.
> 
> This is not a problem when running with the normal U-Boot flow, since we
> define all "pointers" that get in use in our environment, so we can just
> put them inside the lower 32bits.
> 
> But when a higher level application such as an EFI payload comes across,
> it doesn't know about these constraints. So we need to allocate bounce
> buffers for the payload and use them instead.

Alexander,

The low 32-bit physical memory is required for this to work, isn't it? There was
a discussion to move to high memory for LS2080 so the memory can be continuous
for OS.

York

> 
> Alexander Graf (2):
>   efi_loader: Add bounce buffer support
>   efi_loader: Select bounce buffers for known-bad boards
> 
>  configs/ls2080a_emu_defconfig                    |  1 +
>  configs/ls2080a_simu_defconfig                   |  1 +
>  configs/ls2080aqds_SECURE_BOOT_defconfig         |  1 +
>  configs/ls2080aqds_defconfig                     |  1 +
>  configs/ls2080aqds_nand_defconfig                |  1 +
>  configs/ls2080ardb_SECURE_BOOT_defconfig         |  1 +
>  configs/ls2080ardb_defconfig                     |  1 +
>  configs/ls2080ardb_nand_defconfig                |  1 +
>  configs/xilinx_zynqmp_ep_defconfig               |  1 +
>  configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig |  1 +
>  configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig |  1 +
>  configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig |  1 +
>  configs/xilinx_zynqmp_zcu102_defconfig           |  1 +
>  configs/xilinx_zynqmp_zcu102_revB_defconfig      |  1 +
>  include/efi_loader.h                             |  5 ++
>  lib/efi_loader/Kconfig                           |  9 +++
>  lib/efi_loader/efi_disk.c                        | 70 +++++++++++++++++++++---
>  lib/efi_loader/efi_memory.c                      | 16 ++++++
>  18 files changed, 105 insertions(+), 9 deletions(-)
> 

  parent reply	other threads:[~2016-05-11 16:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-11 16:25 [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers Alexander Graf
2016-05-11 16:25 ` [U-Boot] [PATCH 1/2] efi_loader: Add bounce buffer support Alexander Graf
2016-05-30 17:57   ` [U-Boot] [U-Boot,1/2] " Tom Rini
2016-05-11 16:25 ` [U-Boot] [PATCH 2/2] efi_loader: Select bounce buffers for known-bad boards Alexander Graf
2016-05-30 17:57   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-11 16:33 ` York Sun [this message]
2016-05-11 17:04   ` [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers Alexander Graf
2016-05-11 17:09     ` York Sun
2016-05-11 17:16       ` Alexander Graf

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=57335EC7.4090901@nxp.com \
    --to=york.sun@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.