[PATCH] mmci: restrict DMA usage to large, even multiblock transfers

Linus Walleij linus.walleij at linaro.org
Wed Feb 2 04:34:32 EST 2011


2011/2/1 Russell King - ARM Linux <linux at arm.linux.org.uk>:
> On Tue, Feb 01, 2011 at 03:07:12PM +0100, Linus Walleij wrote:
>> 2011/2/1 Russell King - ARM Linux <linux at arm.linux.org.uk>:
>>
>> > So... I think this patch will work fine on ST variants, returning the
>> > DMA request signals back to their classic meaning.  That being LSREQ
>> > is only activated on the _final_ transfer rather than the last 8
>> > transfers, which as Linus describes makes your DMA controller complete
>> > on the 8th-to-last transfer.
>>
>> I've tested this patch on MMC and SD on U8500 and it works
>> fine, so
>> Tested-by: Linus Walleij <linus.walleij at linaro.org>
>
> Thanks.  Can I apply that to the DMA patch too (and combine this with the
> main MMCI DMA patch) ?

Yes I've tested it and it works for MMC/SD cards with the above additions.
Tested-by: Linus Walleij <linus.walleij at linaro.org>

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list