On Thu, Apr 28, 2011 at 09:52:17AM +0200, Per Forlin wrote: > I wanted to test the performance without cache penalty but removing > dma_map_sg may not work since it produces the physical mapped sg list. > This is not as simple as I first thought. Make a copy for dma_map_sg > (call it dma_map_sg_no_cache) and modify it to not clean/inc the > cache. Replace dma_map_sg with dma_map_sg_no_cache in the mxs-mmc > driver. > Removing dma_unmap should be ok for this test case. > Do you still get very low numbers? We can live in the hope that this is gathering evidence to illustrate why having DMA incoherent caches are bad news for performance, and that one day ARM Ltd will one day give us proper DMA cache coherency for all devices. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html