[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080627211014.0e80db04@siona.local>
Date: Fri, 27 Jun 2008 21:10:14 +0200
From: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
To: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Cc: Dan Williams <dan.j.williams@...el.com>,
Pierre Ossman <drzeus-list@...eus.cx>,
linux-kernel@...r.kernel.org, linux-embedded@...r.kernel.org,
kernel@...32linux.org, shannon.nelson@...el.com,
David Brownell <david-b@...bell.net>
Subject: Re: [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@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists