[lkml]   [2008]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines

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:

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_*


 \ /
  Last update: 2008-01-08 03:37    [W:0.089 / U:0.416 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site