PCI: endpoint: functions/pci-epf-test: Add DMA support to transfer data
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 16 Mar 2020 11:24:20 +0000 (16:54 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 2 Apr 2020 16:57:01 +0000 (17:57 +0100)
commit5ebf3fc59bd20d17df3ba26159787d13cf20d362
tree24d4d9426cf61110eed511db7b03e0d4a0b2360d
parentf58d5f53c89479c12ad719c1960176442add5aaa
PCI: endpoint: functions/pci-epf-test: Add DMA support to transfer data

Use dmaengine API and add support for transferring data using DMA.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Alan Mikhak <alan.mikhak@sifive.com>
drivers/pci/endpoint/functions/pci-epf-test.c