From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Ortiz Date: Fri, 24 Dec 2010 11:11:00 +0000 Subject: Re: [PATCH 2/3 v2] mmc: tmio: implement a bounce buffer for Message-Id: <20101224111100.GF27832@sortiz-mobl> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Ian Molton , Magnus Damm On Wed, Dec 22, 2010 at 12:02:15PM +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 Acked-by: Samuel Ortiz for the MFD part. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/