public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms 0/2] SynQuacer: enable MMIO translation
@ 2018-06-26 10:44 Ard Biesheuvel
  2018-06-26 10:44 ` [PATCH edk2-platforms 1/2] Silicon/SynQuacer: add preliminary support for PCIe MMIO32 translation Ard Biesheuvel
  2018-06-26 10:44 ` [PATCH edk2-platforms 2/2] Silicon/Socionext/SynQuacer: use single translated MMIO window for PCI1 Ard Biesheuvel
  0 siblings, 2 replies; 7+ messages in thread
From: Ard Biesheuvel @ 2018-06-26 10:44 UTC (permalink / raw)
  To: edk2-devel; +Cc: leif.lindholm, Ard Biesheuvel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-26 18:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 10:44 [PATCH edk2-platforms 0/2] SynQuacer: enable MMIO translation Ard Biesheuvel
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox