public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/5] EmbeddedPkg: generic support for reusing PCI drivers for platform devices
@ 2016-10-31 18:13 Ard Biesheuvel
  2016-10-31 18:13 ` [PATCH 1/5] EmbeddedPkg: introduce platform PCI I/O protocol Ard Biesheuvel
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Ard Biesheuvel @ 2016-10-31 18:13 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm; +Cc: Ard Biesheuvel

After having reviewed PciEmulation.c #6, it is time to implement this in a
more generic way, taking into account DMA limitations and DMA coherency.

So implement a new platform PCI I/O protocol, and a UEFI_DRIVER module that
binds to those protocols to expose the PCI I/O abstraction that generic
AHCI/XHCI etc drivers can talk to.

Tested with AHCI on QEMU.

Ard Biesheuvel (5):
  EmbeddedPkg: introduce platform PCI I/O protocol
  EmbeddedPkg: introduce platform PCI I/O registration library
  EmbeddedPkg: implement generic platform PCI I/O driver
  ArmPkg/CpuDxe: set DmaBufferAlignment according to CWG
  EmbeddedPkg/PlatformPciIoDxe: add support for non-coherent DMA

 ArmPkg/Drivers/CpuDxe/CpuDxe.c                                                                |   4 +-
 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIo.c                                          | 853 ++++++++++++++++++++
 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIo.h                                          |  72 ++
 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIoDxe.c                                       | 271 +++++++
 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIoDxe.inf                                     |  43 +
 EmbeddedPkg/EmbeddedPkg.dec                                                                   |   2 +
 EmbeddedPkg/EmbeddedPkg.dsc                                                                   |   3 +
 EmbeddedPkg/Include/Library/PlatformPciIoDeviceRegistrationLib.h                              |  46 ++
 EmbeddedPkg/Include/Protocol/PlatformPciIo.h                                                  |  74 ++
 EmbeddedPkg/Library/PlatformPciIoDeviceRegistrationLib/PlatformPciIoDeviceRegistrationLib.c   | 115 +++
 EmbeddedPkg/Library/PlatformPciIoDeviceRegistrationLib/PlatformPciIoDeviceRegistrationLib.inf |  34 +
 11 files changed, 1516 insertions(+), 1 deletion(-)
 create mode 100644 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIo.c
 create mode 100644 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIo.h
 create mode 100644 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIoDxe.c
 create mode 100644 EmbeddedPkg/Drivers/PlatformPciIoDxe/PlatformPciIoDxe.inf
 create mode 100644 EmbeddedPkg/Include/Library/PlatformPciIoDeviceRegistrationLib.h
 create mode 100644 EmbeddedPkg/Include/Protocol/PlatformPciIo.h
 create mode 100644 EmbeddedPkg/Library/PlatformPciIoDeviceRegistrationLib/PlatformPciIoDeviceRegistrationLib.c
 create mode 100644 EmbeddedPkg/Library/PlatformPciIoDeviceRegistrationLib/PlatformPciIoDeviceRegistrationLib.inf

-- 
2.7.4



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

end of thread, other threads:[~2016-11-07 14:54 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 18:13 [PATCH 0/5] EmbeddedPkg: generic support for reusing PCI drivers for platform devices Ard Biesheuvel
2016-10-31 18:13 ` [PATCH 1/5] EmbeddedPkg: introduce platform PCI I/O protocol Ard Biesheuvel
2016-11-01 21:54   ` Leif Lindholm
2016-11-02 13:29     ` Ard Biesheuvel
2016-11-02 15:42       ` Leif Lindholm
2016-10-31 18:13 ` [PATCH 2/5] EmbeddedPkg: introduce platform PCI I/O registration library Ard Biesheuvel
2016-11-01 21:57   ` Leif Lindholm
2016-11-02 13:30     ` Ard Biesheuvel
2016-11-02 15:39       ` Leif Lindholm
2016-11-07 14:54       ` Evan Lloyd
2016-10-31 18:13 ` [PATCH 3/5] EmbeddedPkg: implement generic platform PCI I/O driver Ard Biesheuvel
2016-11-01 22:22   ` Leif Lindholm
2016-11-02 13:39     ` Ard Biesheuvel
2016-11-02 16:05       ` Leif Lindholm
2016-10-31 18:13 ` [PATCH 4/5] ArmPkg/CpuDxe: set DmaBufferAlignment according to CWG Ard Biesheuvel
2016-11-01 22:32   ` Leif Lindholm
2016-11-02 13:40     ` Ard Biesheuvel
2016-11-02 16:10       ` Leif Lindholm
2016-11-02 16:17         ` Ard Biesheuvel
2016-11-02 16:21           ` Leif Lindholm
2016-11-02 16:23             ` Ard Biesheuvel
2016-10-31 18:13 ` [PATCH 5/5] EmbeddedPkg/PlatformPciIoDxe: add support for non-coherent DMA Ard Biesheuvel
2016-11-01 22:43   ` Leif Lindholm
2016-11-02 13:43     ` Ard Biesheuvel
2016-11-02 16:17       ` Leif Lindholm
2016-11-01 21:45 ` [PATCH 0/5] EmbeddedPkg: generic support for reusing PCI drivers for platform devices Leif Lindholm

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