[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1352474951.1814.40.camel@sauron.fi.intel.com>
Date: Fri, 09 Nov 2012 17:29:11 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Huang Shijie <b32955@...escale.com>
Cc: Marek Vasut <marex@...x.de>,
Vinod Koul <vinod.koul@...ux.intel.com>, djbw@...com,
khali@...ux-fr.org, ben-linux@...ff.org, w.sang@...gutronix.de,
cjb@...top.org, dwmw2@...radead.org, lrg@...com,
broonie@...nsource.wolfsonmicro.com, perex@...ex.cz, tiwai@...e.de,
shawn.guo@...aro.org, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-mtd@...ts.infradead.org, alsa-devel@...a-project.org,
linux-arm-kernel@...ts.infradead.org, linux@....linux.org.uk,
Huang Shijie <shijie8@...il.com>,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: Re: [PATCH] dma: add new DMA control commands
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
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists