Re: dmatest - scatter gather mode

From: Andy Shevchenko
Date: Tue Apr 26 2016 - 10:37:15 EST


On Sun, Apr 24, 2016 at 9:44 PM, Ramon Fried <ramon.fried@xxxxxxxxxxx> wrote:
> I'm looking of a way to validate a DMA engine driver I've written.
> I came across dmatest module and while reading the code I've noticed that scatter-gather DMA mode is not implemented.
> I wonder if anyone one knows the reason, and if such enhancement will be welcome as a patch.

You meant the actual slave interaction? How can you implement this in
a generic way?
For example we are using an SPI controller in loopback mode to check DMA driver.
In your case it might be something really specific.

Otherwise you may try mem copy functionality if your DMA engine supports such.

--
With Best Regards,
Andy Shevchenko