From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: [PATCH 2/3 v3] mmc: tmio: implement a bounce buffer for unaligned DMA Date: Wed, 5 Jan 2011 21:06:32 +0000 Message-ID: <20110105210632.GI9198@void.printf.net> References: <20110105195655.GD9198@void.printf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from void.printf.net ([89.145.121.20]:42339 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961Ab1AEVGd (ORCPT ); Wed, 5 Jan 2011 16:06:33 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Guennadi Liakhovetski Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Ian Molton , Samuel Ortiz Hi Guennadi, On Wed, Jan 05, 2011 at 09:56:01PM +0100, Guennadi Liakhovetski wrote: > For example, with SDIO WLAN cards, some transfers happen with buffers at > odd addresses, whereas the SH-Mobile DMA engine requires even addresses > for SDHI. This patch extends the tmio driver with a bounce buffer, that > is used for single entry scatter-gather lists both for sending and > receiving. If we ever encounter unaligned transfers with multi-element > sg lists, this patch will have to be extended. For now it just falls > back to PIO in this and other unsupported cases. > > Signed-off-by: Guennadi Liakhovetski > --- > > Chris, thanks for your comments, but you picked up a wrong version of this > patch. Please, use links from my "outstanding patches" email. Thanks. Actually, I got the right patch but then replied to the wrong e-mail. :) Pushed v3 to mmc-next now. -- Chris Ball One Laptop Per Child