On Tue, Feb 15, 2011 at 04:11:09PM +0100, Per Forlin wrote:
> True. In my case write back is disable but read back is enable, that's
> why I didn't consider it.

What do you mean "write back is disable" ?  You can only prevent
writebacks by using a write-through cache.

Any writeback cache, whether in read-allocate or read-write-allocate
mode will have writebacks.

> Do you think it is feasible to let dma-mapping detect the cache
> configurations in runtime in order to prevent "unnecessary" cache
> operations?

Let's first straighten out your cache understanding above, because I
don't think you understand properly yet.

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to