Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1387547

Re: dmatest - scatter gather mode

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: dmatest - scatter gather mode
Date 2016-04-26 16:40 +0200
Message-ID <rscjE-TC-29@gated-at.bofh.it> (permalink)
References <rrxzP-16P-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Apr 24, 2016 at 9:44 PM, Ramon Fried <ramon.fried@tandemg.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

dmatest - scatter gather mode Ramon Fried <ramon.fried@tandemg.com> - 2016-04-24 21:10 +0200
  Re: dmatest - scatter gather mode Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-04-26 16:40 +0200
    Re: dmatest - scatter gather mode Vinod Koul <vinod.koul@intel.com> - 2016-04-26 18:30 +0200

csiph-web