mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
ae76f635d4
DMA_FROM_DEVICE only need to read dma data of memory into CPU cache, so there is no need to clear cache before. Also clear + inv for DMA_FROM_DEVICE won't cause problem, because the memory range for dma won't be touched by software during dma working. Changes for V2: - Remove clr cache and ignore the DMA_TO_DEVICE in _for_cpu. - Change inv to wbinv cache with DMA_FROM_DEVICE in _for_device. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de> |
||
---|---|---|
.. | ||
asid.c | ||
cachev1.c | ||
cachev2.c | ||
context.c | ||
dma-mapping.c | ||
fault.c | ||
highmem.c | ||
init.c | ||
ioremap.c | ||
Makefile | ||
syscache.c | ||
tlb.c |