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


Groups > linux.kernel > #1385868 > unrolled thread

dmatest - scatter gather mode

Started byRamon Fried <ramon.fried@tandemg.com>
First post2016-04-24 21:10 +0200
Last post2016-04-26 18:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  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

#1385868 — dmatest - scatter gather mode

FromRamon Fried <ramon.fried@tandemg.com>
Date2016-04-24 21:10 +0200
Subjectdmatest - scatter gather mode
Message-ID<rrxzP-16P-5@gated-at.bofh.it>
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.

Thanks.
Ramon

[toc] | [next] | [standalone]


#1387547

FromAndy Shevchenko <andy.shevchenko@gmail.com>
Date2016-04-26 16:40 +0200
Message-ID<rscjE-TC-29@gated-at.bofh.it>
In reply to#1385868
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

[toc] | [prev] | [next] | [standalone]


#1387687

FromVinod Koul <vinod.koul@intel.com>
Date2016-04-26 18:30 +0200
Message-ID<rse28-2io-51@gated-at.bofh.it>
In reply to#1387547
On Tue, Apr 26, 2016 at 05:37:04PM +0300, Andy Shevchenko wrote:
> 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.

I think he means dma copy using sg lists, see the patch posted today for
that


-- 
~Vinod

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web