mbox series

[edk2,edk2-platforms,0/2] SynQuacer: enable MMIO translation

Message ID 20180626104424.3524-1-ard.biesheuvel@linaro.org
Headers show
Series SynQuacer: enable MMIO translation | expand

Message

Ard Biesheuvel June 26, 2018, 10:44 a.m. UTC
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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel