[openib-general] [PATCH v4 2/7] IB/ipath - Implement new verbs DMA mapping functions

Ralph Campbell ralph.campbel at qlogic.com
Mon Dec 11 10:02:26 PST 2006


> Ralph Campbell wrote:
>> This version of the patch fixes ipath_sg_dma_address() and
>> updates the comments for ipath_dma.c as Or Gerlitz
>> suggested.
>
>> This patch implements the interposing DMA mapping functions to allow
>> support for IOMMUs and remove the dependence on phys_to_virt() and
>> bus_to_virt().
>
> Ralph,
>
> The patch seems ready modulo the resolution of whether you implement the
> addresses returned by the ipath ib_dma_map_xxx code as keys into a SW
> IOTLB (which means you return dma_address_t and not u64 but assign it
> ipath semantics) or choose a different path to follow (ie assume the
> problem exists only under the unsupported by ipath 32bit / high-mem
> config, do nothing, etc) - what ever you set with Roland.
>
> Or.

I would like to see this last set of patches integrated as is.
I would like to get more experience with the current implementation
before extending it to support other configurations.






More information about the general mailing list