Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_*routines

From: Christoph Hellwig
Date: Tue Jan 08 2008 - 12:52:18 EST


On Mon, Jan 07, 2008 at 06:32:22PM -0800, akepner@xxxxxxx wrote:
>
> 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.

Onething I've missed with these patches is drivers actually using
it. What driver actually needs it and why don't you send patches
for them?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/