On Thu, 2011-04-28 at 15:37 -0400, Jerome Glisse wrote:
Jesse also pointed out space exhaustion inside the iommu and i believe this should also be considered. This is why i believe the dma_* api is not well suited. In DRM/TTM we use pci_dma_mapping* and we also play with with page set_page*_uc|wc|wb.
Which are yet another set of completely x86-centric APIs that have not been thought in the context of other architectures and are probably mostly unimplementables on half of them :-)
Cheers, Ben.