James> The attached should represent close to final form for the
James> generic DMA API. It includes documentation (surprise!) and
James> and implementation in terms of the pci_ API for every arch
James> (apart from parisc, which will be submitted later).
James> I've folded in the feedback from the previous thread.
James> Hopefully, this should be ready for inclusion. If people
James> could test it on x86 and other architectures, I'd be
James> grateful.
James> comments and feedback from testing welcome.
Would you mind doing a s/consistent/coherent/g? This has been
misnamed in the PCI DMA interface all along, but I didn't think it's
worth breaking drivers because of it. But since this is a new
interface, there is no such issue.
(Consistency says something about memory access ordering, coherency
only talks about there not being multiple values for a given memory
location. On DMA-coherent platforms with weakly-ordered memory
systems, the returned memory really is only coherent, not consistent,
i.e., you have to use memory barriers if you want to enforce
ordering.)
Thanks,
--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:18 EST