[openib-general] IB/ipath - Implement new verbs DMA mapping functions
Roland Dreier
rdreier at cisco.com
Mon Nov 13 09:34:36 PST 2006
> This is a bug since there are architectures eg PPC64 where the native
> address size is u64 but dma_addr_t is u32. You are somehow in a
> problem here, since returning an unchopped cpu_addr to the consumer
> might cause a memory corruption as they are expecting 32 bit value.
Yes (although ppc64 is now u64 -- sparc64 is still u32 though). I
think this means we need to make these ib_dma_xxx functions return u64
instead of dma_addr_t.
- R.
More information about the general
mailing list