lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 10 Aug 2010 23:17:40 +0200
From:	Linus Walleij <linus.ml.walleij@...il.com>
To:	Sascha Hauer <s.hauer@...gutronix.de>
Cc:	linux kernel <linux-kernel@...r.kernel.org>,
	Dan Williams <dan.j.williams@...el.com>,
	Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
Subject: Re: dmaengine cyclic transfers

2010/8/10 Sascha Hauer <s.hauer@...gutronix.de>:

> Author: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
> Date:   Wed Apr 1 15:47:02 2009 +0200
>
>    dw_dmac: add cyclic API to DW DMA driver
>
> This could be very useful for the SDMA engine aswell. What are the
> reasons this is not implemented in the generic dmaengine API but as
> an extension to a specific driver?

No reasons what I know. There was a similar code snippet in Peter
Pearse's PL08x driver as well, I just didn't know what to do with it.

> Should I also implement it like
> this or isn't it better to extend the dmaengine itself?

This is going to be generally useful, so please extend the DMAengine
if I have my say. I actually miss two functions from the engine:

1) Single buffer slave transfers (without sglist)
2) Cyclic buffers (esp good for audio)

The first I have a patch for, will repost.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ