linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] dmabounce cleanups
@ 2011-07-04  8:47 Russell King - ARM Linux
  2011-07-04  8:47 ` [PATCH 01/10] ARM: dmabounce: fix map_single() error return value Russell King - ARM Linux
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Russell King - ARM Linux @ 2011-07-04  8:47 UTC (permalink / raw)
  To: linux-arm-kernel

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-07-04  8:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-04  8:47 [PATCH 00/10] dmabounce cleanups Russell King - ARM Linux
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

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).