[PATCH 07/11] fsmc/nand: Provide contiguous buffers to dma
viresh kumar
viresh.kumar at linaro.org
Thu Oct 11 13:07:09 EDT 2012
On Thu, Oct 11, 2012 at 9:36 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Thu, Oct 11, 2012 at 6:15 AM, viresh kumar <viresh.kumar at linaro.org> wrote:
>> I pray that i am wrong here, otherwise i would be thrown out from
s/am/am not/ :(
>> the maintainers list for this driver :)
>>
>> dma_sync_single_for_device() is not doing anything on the buffer, but
>> on the LLI item. Actually it is flushing LLI struct so that DMA h/w can get
>> the correct values.
>
> Sorry no, I'm the one who's wrong...
Glad to hear that. :)
It happens very few times in one's lifetime, that a beginner like me is correct
and an expert like you is not. Just kidding :)
> And the block layer of the subsystem should take care
> of only handing the driver buffers that are contiguous
But why should that be a constraint on block layer? It is working in virtual
space and is concerned about that onlly.
--
viresh
More information about the linux-mtd
mailing list