From: Samuel Ortiz <sameo@linux.intel.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org,
Ian Molton <ian@mnementh.co.uk>, Magnus Damm <damm@opensource.se>
Subject: Re: [PATCH 2/3 v2] mmc: tmio: implement a bounce buffer for unaligned DMA
Date: Fri, 24 Dec 2010 12:11:00 +0100 [thread overview]
Message-ID: <20101224111100.GF27832@sortiz-mobl> (raw)
In-Reply-To: <Pine.LNX.4.64.1012221156580.14483@axis700.grange>
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 <g.liakhovetski@gmx.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
for the MFD part.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
WARNING: multiple messages have this Message-ID (diff)
From: Samuel Ortiz <sameo@linux.intel.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org,
Ian Molton <ian@mnementh.co.uk>, Magnus Damm <damm@opensource.se>
Subject: Re: [PATCH 2/3 v2] mmc: tmio: implement a bounce buffer for
Date: Fri, 24 Dec 2010 11:11:00 +0000 [thread overview]
Message-ID: <20101224111100.GF27832@sortiz-mobl> (raw)
In-Reply-To: <Pine.LNX.4.64.1012221156580.14483@axis700.grange>
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 <g.liakhovetski@gmx.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
for the MFD part.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
next prev parent reply other threads:[~2010-12-24 11:11 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 16:24 [PATCH 0/3] handle unaligned buffers, when using TMIO-MMC with DMA Guennadi Liakhovetski
2010-11-23 16:24 ` Guennadi Liakhovetski
2010-11-23 16:24 ` [PATCH 1/3] mmc: tmio: merge the private header into the driver Guennadi Liakhovetski
2010-11-23 16:24 ` Guennadi Liakhovetski
2011-01-05 19:50 ` Chris Ball
2011-01-05 19:50 ` Chris Ball
2010-11-23 16:24 ` [PATCH 2/3] mmc: tmio: implement a bounce buffer for unaligned DMA Guennadi Liakhovetski
2010-11-23 16:24 ` Guennadi Liakhovetski
2010-11-26 12:04 ` Samuel Ortiz
2010-11-26 12:04 ` [PATCH 2/3] mmc: tmio: implement a bounce buffer for unaligned Samuel Ortiz
2010-12-19 21:16 ` [PATCH] mmc: tmio_mmc: silence compiler warnings Arnd Hannemann
2011-01-05 20:48 ` Chris Ball
2011-01-05 20:48 ` Chris Ball
2010-12-22 11:02 ` [PATCH 2/3 v2] mmc: tmio: implement a bounce buffer for unaligned DMA Guennadi Liakhovetski
2010-12-22 11:02 ` [PATCH 2/3 v2] mmc: tmio: implement a bounce buffer for unaligned Guennadi Liakhovetski
2010-12-24 11:11 ` Samuel Ortiz [this message]
2010-12-24 11:11 ` [PATCH 2/3 v2] mmc: tmio: implement a bounce buffer for Samuel Ortiz
2011-01-05 19:56 ` [PATCH 2/3] mmc: tmio: implement a bounce buffer for unaligned DMA Chris Ball
2011-01-05 19:56 ` [PATCH 2/3] mmc: tmio: implement a bounce buffer for unaligned Chris Ball
2011-01-05 20:56 ` [PATCH 2/3 v3] mmc: tmio: implement a bounce buffer for unaligned DMA Guennadi Liakhovetski
2011-01-05 20:56 ` [PATCH 2/3 v3] mmc: tmio: implement a bounce buffer for unaligned Guennadi Liakhovetski
2011-01-05 21:06 ` [PATCH 2/3 v3] mmc: tmio: implement a bounce buffer for unaligned DMA Chris Ball
2011-01-05 21:06 ` [PATCH 2/3 v3] mmc: tmio: implement a bounce buffer for Chris Ball
2010-11-23 16:24 ` [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers Guennadi Liakhovetski
2010-11-23 16:24 ` [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce unaligned Guennadi Liakhovetski
2010-11-26 12:05 ` [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers Samuel Ortiz
2010-11-26 12:05 ` [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce Samuel Ortiz
2011-01-05 20:49 ` [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers Chris Ball
2011-01-05 20:49 ` [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce Chris Ball
2010-12-14 16:07 ` [PATCH 0/3] handle unaligned buffers, when using TMIO-MMC with DMA Guennadi Liakhovetski
2010-12-14 16:07 ` [PATCH 0/3] handle unaligned buffers, when using TMIO-MMC with Guennadi Liakhovetski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101224111100.GF27832@sortiz-mobl \
--to=sameo@linux.intel.com \
--cc=damm@opensource.se \
--cc=g.liakhovetski@gmx.de \
--cc=ian@mnementh.co.uk \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.