Skip to content

xilinx XDMA driver

Lizhi Hou dmaengine lkml 20 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest posting 4/42 patches 6 repliesIn review
  2. v12 posting 3/42 patches 0 repliesSuperseded
  3. v12 posting 2/42 patches 0 repliesSuperseded
Earlier versions · 17
VersionPostedPatchesRepliesStatus
v12 posting 1/42 patches2 repliesApplied
v11 posting 3/32 patches7 repliesSuperseded
v11 posting 2/32 patches1 replySuperseded
v11 posting 1/32 patches0 repliesSuperseded
v10 posting 3/32 patches0 repliesSuperseded
v10 posting 2/32 patches1 replySuperseded
v10 posting 1/32 patches0 repliesSuperseded
v92 patches7 repliesSuperseded
v82 patches1 replySuperseded
v72 patches9 repliesSuperseded
v62 patches5 repliesSuperseded
v52 patches9 repliesSuperseded
v42 patches6 repliesSuperseded
v31 patch0 repliesSuperseded
v21 patch3 repliesSuperseded
v1 posting 2/21 patch3 repliesSuperseded
v1 posting 1/21 patch0 repliesSuperseded

Changes in v12 from the cover letter

- minor fixes based on review comments.

Patches in v12 posting 4/4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dmaengine: xilinx: xdma: Add xilinx xdma driverMAINTAINERS drivers/dma/Kconfig drivers/dma/xilinx/Makefile +3 more+1118 -06 replies
2/2dmaengine: xilinx: xdma: Add user logic interrupt supportMAINTAINERS drivers/dma/xilinx/xdma.c include/linux/dma/amd_xdma.h+98 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMartin Tuma
1/2T-b
2/2T-b

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

Read the v12 thread

Cover letter [RESEND PATCH V12 XDMA 0/2] xilinx XDMA driver

Hello,

This V12 of patch series is to provide the platform driver to support the Xilinx XDMA subsystem. The XDMA subsystem is used in conjunction with the PCI Express IP block to provide high performance data transfer between host memory and the card's DMA subsystem. It also provides up to 16 user interrupt wires to user logic that generate interrupts to the host.

            +-------+       +-------+       +-----------+
   PCIe     |       |       |       |       |           |
   Tx/Rx    |       |       |       |  AXI  |           |
 <=======>  | PCIE  | <===> | XDMA  | <====>| User Logic|
            |       |       |       |       |           |
            +-------+       +-------+       +-----------+

The XDMA has been used for Xilinx Alveo PCIe devices.
And it is also integrated into Versal ACAP DMA and Bridge Subsystem.
https://www.xilinx.com/products/boards-and-kits/alveo.html
https://docs.xilinx.com/r/en-US/pg344-pcie-dma-versal/Introduction-to-the-DMA-and-Bridge-Subsystems

The device driver for any FPGA based PCIe device which leverages XDMA can call the standard dmaengine APIs to discover and use the XDMA subsystem without duplicating the XDMA driver code in its own driver.

Changes since v11:
- minor fixes based on review comments.

Changes since v10:
- Added Tested-by Martin Tuma [email protected]

Changes since v9:
- Cleanup code based on review comments.

Changes since v8:
- Fixed test robot failure on s390.

Changes since v7:
- Used pci device pointer for dma_pool_create().

Changes since v6:
- Fixed descriptor filling bug.

Changes since v5:
- Modified user logic interrupt APIs to handle user logic IP which does not have its own register to enable/disable interrupt.
- Clean up code based on review comments.

Changes since v4:
- Modified user logic interrupt APIs.

Changes since v3:
- Added one patch to support user logic interrupt.

Changes since v2:
- Removed tasklet.
- Fixed regression bug introduced to V2.
- Test Robot warning.

Changes since v1:
- Moved filling hardware descriptor to xdma_prep_device_sg().
- Changed hardware descriptor enum to "struct xdma_hw_desc".
- Minor changes from code review comments.

Lizhi Hou (2):
dmaengine: xilinx: xdma: Add xilinx xdma driver
dmaengine: xilinx: xdma: Add user logic interrupt support

 MAINTAINERS                            |  11 +
 drivers/dma/Kconfig                    |  14 +
 drivers/dma/xilinx/Makefile            |   1 +
 drivers/dma/xilinx/xdma-regs.h         | 166 +++++
 drivers/dma/xilinx/xdma.c              | 974 +++++++++++++++++++++++++
 include/linux/dma/amd_xdma.h           |  16 +
 include/linux/platform_data/amd_xdma.h |  34 +
 7 files changed, 1216 insertions(+)
 create mode 100644 drivers/dma/xilinx/xdma-regs.h
 create mode 100644 drivers/dma/xilinx/xdma.c
 create mode 100644 include/linux/dma/amd_xdma.h
 create mode 100644 include/linux/platform_data/amd_xdma.h
Signature · 1 line
2.27.0