public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org
Cc: leif.lindholm@linaro.org, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH edk2-platforms 0/2] SynQuacer: enable MMIO translation
Date: Tue, 26 Jun 2018 12:44:22 +0200	[thread overview]
Message-ID: <20180626104424.3524-1-ard.biesheuvel@linaro.org> (raw)

Even if the UEFI spec permits it and accommodates it, many UEFI drivers
for PCI peripherals appear to misbehave in the presence of MMIO windows
that appear at different addresses in the CPU and PCI address spaces.
So let's add some plumbing to allow us to test this on SynQuacer.

Patch #1 adds some groundwork, and can be taken into edk2-platforms.

Patch #2 is included for reference, and may be applied locally to build
firmware images to be used in driver testing.

Ard Biesheuvel (2):
  Silicon/SynQuacer: add preliminary support for PCIe MMIO32 translation
  Silicon/Socionext/SynQuacer: use single translated MMIO window for
    PCI1

 .../SynQuacer/AcpiTables/AcpiSsdtRootPci.asl  | 19 ++++--------------
 .../SynQuacer/DeviceTree/SynQuacer.dtsi       | 11 +++++-----
 .../SynQuacer/Include/Platform/Pcie.h         | 20 ++++++++++---------
 .../SynQuacerPciHostBridgeLib.c               | 11 +++++-----
 .../SynQuacerPciHostBridgeLibConstructor.c    |  2 +-
 5 files changed, 27 insertions(+), 36 deletions(-)

-- 
2.17.1



             reply	other threads:[~2018-06-26 10:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-26 10:44 Ard Biesheuvel [this message]
2018-06-26 10:44 ` [PATCH edk2-platforms 1/2] Silicon/SynQuacer: add preliminary support for PCIe MMIO32 translation Ard Biesheuvel
2018-06-26 14:24   ` Leif Lindholm
2018-06-26 14:25     ` Ard Biesheuvel
2018-06-26 14:34       ` Leif Lindholm
2018-06-26 18:21         ` Ard Biesheuvel
2018-06-26 10:44 ` [PATCH edk2-platforms 2/2] Silicon/Socionext/SynQuacer: use single translated MMIO window for PCI1 Ard Biesheuvel

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-list 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=20180626104424.3524-1-ard.biesheuvel@linaro.org \
    --to=devel@edk2.groups.io \
    /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