lkml.org 
[lkml]   [2008]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 6/6] Atmel MCI: Driver for Atmel on-chip MMC controllers
On Thu, 26 Jun 2008 15:23:23 +0200
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> wrote:

> This driver can also use PIO transfers when no DMA channels are
> available, and for transfers where using DMA may be difficult or
> impractical for some reason (e.g. the DMA setup overhead is usually
> not worth it for very short transfers, and badly aligned buffers or
> lengths are difficult to handle.)

Btw, it's probably not that hard to rip the DMA bits out and post them
as a separate patch. This would mean that:
* Pierre can merge the driver independently of the other 5 patches
* A separate patch adding DMA support would make it clearer how the
DMA slave interface is used.
* The chances of having MMC support out of the box on avr32 boards in
2.6.27 become greater, and many people have been asking about that
(including Pierre and David.)

The driver is surprisingly fast with DMA turned off (2-3 MiB/s), but
the CPU usage is of course horrible.

If that sounds like a good plan to you, I'll split the driver tomorrow.

This driver has been out of tree for way too long. I'm hoping we can
get it in before 2.6.27.

Haavard


\
 
 \ /
  Last update: 2008-06-27 21:13    [W:0.162 / U:1.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site