Skip to content

RFC dmaengine: Add Synopsys eDMA IP driver (version 0)

Gustavo Pimentel dmaengine linux-pci 16 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/26 patches 3 repliesApplied
  2. v6 RFC Latest6 patches 11 repliesIn review
  3. v5 RFC posting 2/21 of 6 patches 0 repliesSuperseded
Earlier versions · 13
VersionPostedPatchesRepliesStatus
v5 RFC posting 1/26 patches0 repliesSuperseded
v4 RFC6 patches1 replySuperseded
v3 RFC posting 9/91 of 7 patches0 repliesSuperseded
v3 RFC posting 8/91 of 7 patches0 repliesSuperseded
v3 RFC posting 7/91 of 7 patches0 repliesSuperseded
v3 RFC posting 6/93 of 7 patches0 repliesSuperseded
v3 RFC posting 5/92 of 7 patches0 repliesSuperseded
v3 RFC posting 4/91 of 7 patches0 repliesSuperseded
v3 RFC posting 3/92 of 7 patches0 repliesSuperseded
v3 RFC posting 2/90 of 6 patches0 repliesSuperseded
v3 RFC posting 1/97 patches0 repliesSuperseded
v2 RFC posting 1/26 patches3 repliesSuperseded
v1 RFC2 of 6 patches0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dmaengine: Add Synopsys eDMA IP core driverdrivers/dma/Kconfig drivers/dma/Makefile drivers/dma/dw-edma/Kconfig +4 more+1147 -05 replies
2/6dmaengine: Add Synopsys eDMA IP version 0 supportdrivers/dma/dw-edma/Makefile drivers/dma/dw-edma/dw-edma-core.c drivers/dma/dw-edma/dw-edma-v0-core.c +2 more+536 -11 reply
3/6dmaengine: Add Synopsys eDMA IP version 0 debugfs supportdrivers/dma/dw-edma/Makefile drivers/dma/dw-edma/dw-edma-v0-core.c drivers/dma/dw-edma/dw-edma-v0-debugfs.c +1 more+393 -24 replies
4/6PCI: Add Synopsys endpoint EDDA Device IDdrivers/misc/pci_endpoint_test.c include/linux/pci_ids.h+2 -10 replies
5/6dmaengine: Add Synopsys eDMA IP PCIe glue-logicdrivers/dma/dw-edma/Kconfig drivers/dma/dw-edma/Makefile drivers/dma/dw-edma/dw-edma-pcie.c+239 -00 replies
6/6MAINTAINERS: Add Synopsys eDMA IP driver maintainerMAINTAINERS+7 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/6
2/6
3/6
4/6A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [RFC v6 0/6] dmaengine: Add Synopsys eDMA IP driver (version 0)

Add Synopsys eDMA IP driver (version 0 and for EP side only) to Linux kernel. This IP is generally distributed with Synopsys PCIe EndPoint IP (depends of the use and licensing agreement), which supports:
- legacy and unroll modes
- 16 independent and concurrent channels (8 write + 8 read)
- supports linked list (scatter-gather) transfer
- each linked list descriptor can transfer from 1 byte to 4 Gbytes
- supports cyclic transfer
- PCIe EndPoint glue-logic

This patch series contains:
- eDMA core + eDMA core v0 driver (implements the interface with DMAengine controller APIs and interfaces with eDMA HW block)
- eDMA PCIe glue-logic reference driver (attaches to Synopsys EP and provides memory access to eDMA core driver)

Gustavo Pimentel (6):
dmaengine: Add Synopsys eDMA IP core driver
dmaengine: Add Synopsys eDMA IP version 0 support
dmaengine: Add Synopsys eDMA IP version 0 debugfs support
PCI: Add Synopsys endpoint EDDA Device ID
dmaengine: Add Synopsys eDMA IP PCIe glue-logic
MAINTAINERS: Add Synopsys eDMA IP driver maintainer

 MAINTAINERS                              |   7 +
 drivers/dma/Kconfig                      |   2 +
 drivers/dma/Makefile                     |   1 +
 drivers/dma/dw-edma/Kconfig              |  18 +
 drivers/dma/dw-edma/Makefile             |   7 +
 drivers/dma/dw-edma/dw-edma-core.c       | 920 +++++++++++++++++++++++++++++++
 drivers/dma/dw-edma/dw-edma-core.h       | 165 ++++++
 drivers/dma/dw-edma/dw-edma-pcie.c       | 229 ++++++++
 drivers/dma/dw-edma/dw-edma-v0-core.c    | 348 ++++++++++++
 drivers/dma/dw-edma/dw-edma-v0-core.h    |  28 +
 drivers/dma/dw-edma/dw-edma-v0-debugfs.c | 361 ++++++++++++
 drivers/dma/dw-edma/dw-edma-v0-debugfs.h |  28 +
 drivers/dma/dw-edma/dw-edma-v0-regs.h    | 158 ++++++
 drivers/misc/pci_endpoint_test.c         |   2 +-
 include/linux/dma/edma.h                 |  47 ++
 include/linux/pci_ids.h                  |   1 +
 16 files changed, 2321 insertions(+), 1 deletion(-)
 create mode 100644 drivers/dma/dw-edma/Kconfig
 create mode 100644 drivers/dma/dw-edma/Makefile
 create mode 100644 drivers/dma/dw-edma/dw-edma-core.c
 create mode 100644 drivers/dma/dw-edma/dw-edma-core.h
 create mode 100644 drivers/dma/dw-edma/dw-edma-pcie.c
 create mode 100644 drivers/dma/dw-edma/dw-edma-v0-core.c
 create mode 100644 drivers/dma/dw-edma/dw-edma-v0-core.h
 create mode 100644 drivers/dma/dw-edma/dw-edma-v0-debugfs.c
 create mode 100644 drivers/dma/dw-edma/dw-edma-v0-debugfs.h
 create mode 100644 drivers/dma/dw-edma/dw-edma-v0-regs.h
 create mode 100644 include/linux/dma/edma.h
Cc Vinod Koul <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Russell King <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Joao Pinto <[email protected]>
Signature · 1 line
2.7.4