Use DMA Test Kernel Module for FPGA Device

From: Eric Schwarz
Date: Thu Apr 23 2020 - 09:35:32 EST


Hello,

I think it is not possible to use the dmatest [1] kernel framework for testing a DMA engine located in an FPGA where the FPGA is connected to the host system over PCIe.
However, does any one have out-of-tree patches in order to do so for dmatest or knows a project which could be used for that case?

System setup:

+-------+
| DDR |
+-------+
|
|
+--------------+ +-------------------+
| | | +------------+ |
| | | | DMA Engine | |
| | PCIe | +------------+ |
| CPU +<----------------->+ |
| | | FPGA |
| | | |
| | | |
+--------------+ +-------------------+


[1] https://www.kernel.org/doc/html/latest/driver-api/dmaengine/dmatest.html

Many thanks
Eric