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