linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* provide more common DMA API functions
@ 2015-08-13 15:04 Christoph Hellwig
  2015-08-13 15:04 ` [PATCH 1/5] dma-mapping: consolidate dma_{alloc,free}_{attrs,coherent} Christoph Hellwig
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Christoph Hellwig @ 2015-08-13 15:04 UTC (permalink / raw)
  To: akpm
  Cc: arnd, linux, catalin.marinas, will.deacon, ysato, monstr, jonas,
	cmetcalf, gxt, x86, linux-alpha, linux-hexagon, linux-ia64,
	linux-mips, linuxppc-dev, linux-s390, linux-sh, sparclinux,
	linux-kernel

Since 2009 we have a nice asm-generic header implementing lots of DMA API
functions for architectures using struct dma_map_ops, but unfortunately
it's still missing a lot of APIs that all architectures still have to
duplicate.

This series consolidates the remaining functions, although we still
need arch opt outs for two of them as a few architectures have very
non-standard implementations.


^ permalink raw reply	[flat|nested] 11+ messages in thread
* provide more common DMA API functions V2
@ 2015-08-17  7:06 Christoph Hellwig
  2015-08-17  7:06 ` [PATCH 5/5] dma-mapping: consolidate dma_set_mask Christoph Hellwig
  0 siblings, 1 reply; 11+ messages in thread
From: Christoph Hellwig @ 2015-08-17  7:06 UTC (permalink / raw)
  To: akpm
  Cc: arnd, linux, catalin.marinas, will.deacon, ysato, monstr, jonas,
	cmetcalf, gxt, x86, linux-alpha, linux-hexagon, linux-ia64,
	linux-mips, linuxppc-dev, linux-s390, linux-sh, sparclinux,
	linux-kernel

Since 2009 we have a nice asm-generic header implementing lots of DMA API
functions for architectures using struct dma_map_ops, but unfortunately
it's still missing a lot of APIs that all architectures still have to
duplicate.

This series consolidates the remaining functions, although we still
need arch opt outs for two of them as a few architectures have very
non-standard implementations.

Changes since V1:
 - keep a modified comment about dma_alloc_noncoherent vs
   dma_cache_sync in the ARM asm/dma-mapping.h
 - keep the ARM dma_set_mask instances to deal with dmabounce


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

end of thread, other threads:[~2015-08-17  7:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13 15:04 provide more common DMA API functions Christoph Hellwig
2015-08-13 15:04 ` [PATCH 1/5] dma-mapping: consolidate dma_{alloc,free}_{attrs,coherent} Christoph Hellwig
2015-08-13 15:04 ` [PATCH 2/5] dma-mapping: consolidate dma_{alloc,free}_noncoherent Christoph Hellwig
2015-08-13 15:20   ` Russell King - ARM Linux
2015-08-13 17:55     ` Christoph Hellwig
2015-08-13 15:04 ` [PATCH 3/5] dma-mapping: cosolidate dma_mapping_error Christoph Hellwig
2015-08-13 15:04 ` [PATCH 4/5] dma-mapping: consolidate dma_supported Christoph Hellwig
2015-08-13 15:04 ` [PATCH 5/5] dma-mapping: consolidate dma_set_mask Christoph Hellwig
2015-08-13 15:25   ` Russell King - ARM Linux
2015-08-13 17:58     ` Christoph Hellwig
2015-08-17  7:06 provide more common DMA API functions V2 Christoph Hellwig
2015-08-17  7:06 ` [PATCH 5/5] dma-mapping: consolidate dma_set_mask Christoph Hellwig

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