> 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. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
