Skip to content

dmaengine: dw-axi-dmac: Refactor descriptor and channel management

Sia Jee Heng dmaengine 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: dma: Add YAML schemas for dw-axi-dmacDocumentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml+124 -390 replies
2/4dmaengine: dw-axi-dmac: simplify descriptor managementdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+102 -710 replies
3/4dmaengine: dw-axi-dmac: move dma_pool_create() to alloc_chan_resources()drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+14 -120 replies
4/4dmaengine: dw-axi-dmac: Add device_synchronize() callbackdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+8 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchShevchenko, Andriy
1/4
2/4R-b
3/4R-b
4/4R-b

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

Read the v1 thread

Cover letter [PATCH 0/4] dmaengine: dw-axi-dmac: Refactor descriptor and channel management

The below patch series are to support AxiDMA running on Intel KeemBay SoC. The base driver is dw-axi-dmac but code refactoring is needed to improve the descriptor management by replacing Linked List Item (LLI) with virtual descriptor management, only allocate hardware LLI memories from DMA memory pool, manage DMA memory pool alloc/destroy based on channel activity and to support device_sync callback.

Note: Intel KeemBay AxiDMA related changes and other DMA features are to be submitted as we need to get the fundamental changes approved first prior to add additional DMA features on top.

This patch series are tested on Intel KeemBay platform.

Sia Jee Heng (4):
dt-bindings: dma: Add YAML schemas for dw-axi-dmac
dmaengine: dw-axi-dmac: simplify descriptor management
dmaengine: dw-axi-dmac: move dma_pool_create() to
alloc_chan_resources()
dmaengine: dw-axi-dmac: Add device_synchronize() callback

 .../devicetree/bindings/dma/snps,dw-axi-dmac.txt   |  39 -----
 .../devicetree/bindings/dma/snps,dw-axi-dmac.yaml  | 124 ++++++++++++++
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c     | 190 ++++++++++++---------
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h              |  11 +-
 4 files changed, 245 insertions(+), 119 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
 create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
Signature · 1 line
1.9.1