[PATCH] dma: add new DMA control commands

Artem Bityutskiy dedekind1 at gmail.com
Fri Nov 9 10:29:11 EST 2012


On Thu, 2012-10-18 at 16:29 +0800, Huang Shijie wrote:
> 于 2012年10月18日 16:16, Marek Vasut 写道:
> > So we can't stream data from the chip? About time to adjust the MTD framework to
> > allow that. Maybe implement a command queue?
> >
> 
> to Artem & David:
>     is this possible to stream the data out with a command queue?

Well, I think there was no HW which supported reading multiple pages
with DMA before, are your sure yours support this? Usually reading a
NAND page consists of 2 phases - loading the NAND array contents to a
controller buffer, and then copying that to RAM. And the second part is
something people sometimes do with DMA, AFAIU.

If your HW supports this, sure the MTD framework can be re-worked. Or
you may write your own 'mtd->_read()' / 'mtd->_write()' implementation.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121109/12358221/attachment.sig>


More information about the linux-arm-kernel mailing list