From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/10] dmabounce cleanups
Date: Mon, 4 Jul 2011 09:47:11 +0100 [thread overview]
Message-ID: <20110704084711.GN21898@n2100.arm.linux.org.uk> (raw)
This patch series cleans up the DMA bounce code with the following in mind:
1. Fix the map_single failure case to return the correct dma_addr_t
indicating failure.
2. Allow __dma_map_page() to work for non-bounced highmem pages.
3. Get rid of the global dma_needs_bounce function, passing it at
registration time.
Without this patch set, enabling DMA bounce support causes the DMA API to
fail all attempts to map highmem pages whether or not they will be using
the DMA bounce API. We address that in this patch set, but DMA bounce
itself will still not permit highmem pages.
The first patch in the series fixing the failure return value will be
queued for -rc and stable trees.
next reply other threads:[~2011-07-04 8:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 8:47 Russell King - ARM Linux [this message]
2011-07-04 8:47 ` [PATCH 01/10] ARM: dmabounce: fix map_single() error return value Russell King - ARM Linux
2011-07-04 8:48 ` [PATCH 02/10] ARM: dma-mapping: define dma_(un)?map_single in terms of dma_(un)?map_page Russell King - ARM Linux
2011-07-04 8:48 ` [PATCH 03/10] ARM: dmabounce: avoid needless valid_dma_direction() check Russell King - ARM Linux
2011-07-04 8:48 ` [PATCH 04/10] ARM: dmabounce: separate out decision to bounce Russell King - ARM Linux
2011-07-04 8:49 ` [PATCH 05/10] ARM: dmabounce: move decision for bouncing into __dma_map_page() Russell King - ARM Linux
2011-07-04 8:49 ` [PATCH 06/10] ARM: dmabounce: remove useless pr_err Russell King - ARM Linux
2011-07-04 8:49 ` [PATCH 07/10] ARM: dmabounce: check pointer against NULL not 0 Russell King - ARM Linux
2011-07-04 8:50 ` [PATCH 08/10] ARM: dmabounce: correct unmap_single dev_dbg Russell King - ARM Linux
2011-07-04 8:50 ` [PATCH 09/10] ARM: dmabounce: get rid of dma_needs_bounce global function Russell King - ARM Linux
2011-07-04 8:50 ` [PATCH 10/10] ARM: dmabounce: no need to check dev->bus type in needs_bounce function Russell King - ARM Linux
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=20110704084711.GN21898@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).