public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines
@ 2008-01-08  2:32 akepner
  2008-01-08 16:27 ` James Bottomley
  2008-01-08 17:50 ` Christoph Hellwig
  0 siblings, 2 replies; 15+ messages in thread
From: akepner @ 2008-01-08  2:32 UTC (permalink / raw)
  To: Tony Luck, Grant Grundler, Jesse Barnes, Jes Sorensen,
	Randy Dunlap, Roland Dreier, James Bottomley, David Miller,
	Muli Ben-Yehuda
  Cc: linux-kernel


The following patchset allows additional "attributes" to be 
passed to dma_map_*/dma_unmap_* implementations. (The reason 
why this is useful/necessary has been mentioned several times, 
most recently here:
http://marc.info/?l=linux-kernel&m=119258541412724&w=2.)

This is incomplete in that only ia64 and x86_64 are supported - 
the purpose is mainly to give us something specific to discuss. 

The approach here is to change the dma_map_* interface so 
that the last argument is an u32 which encodes the direction 
of the dma and, optionally, other attributes. Changing the 
interface is a bit intrusive, but callers of dma_map_* don't 
need to be modified.

There are 3 patches:

[1/3] dma: create linux/dma-direction.h 
[2/3] dma: ia64/sn2 allow "attributes" to be used by dma_map_*
[2/3] dma: x86_64 allow "attributes" to be used by dma_map_*

-- 
Arthur


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

end of thread, other threads:[~2008-01-11 18:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08  2:32 [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines akepner
2008-01-08 16:27 ` James Bottomley
2008-01-08 17:42   ` Roland Dreier
2008-01-08 17:54     ` James Bottomley
2008-01-08 18:05       ` Roland Dreier
2008-01-08 18:21         ` James Bottomley
2008-01-09  0:55           ` akepner
2008-01-09 21:00           ` Roland Dreier
2008-01-09 21:05             ` akepner
2008-01-09 21:30             ` James Bottomley
2008-01-11 18:20               ` Grant Grundler
2008-01-08 18:13   ` akepner
2008-01-08 17:50 ` Christoph Hellwig
2008-01-08 17:55   ` Roland Dreier
2008-01-08 18:23   ` akepner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox