Re: [PATCH v4 6/6] Atmel MCI: Driver for Atmel on-chip MMCcontrollers

From: Haavard Skinnemoen
Date: Fri Jun 27 2008 - 15:10:53 EST


On Thu, 26 Jun 2008 15:23:23 +0200
Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/