linux-stable/arch/csky
Guo Ren ae76f635d4 csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range
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>
2019-08-06 15:15:34 +08:00
..
abiv1 arch/csky patches for 5.3-rc1 2019-07-19 12:15:33 -07:00
abiv2 arch/csky patches for 5.3-rc1 2019-07-19 12:15:33 -07:00
boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
configs
include csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range 2019-08-06 15:15:34 +08:00
kernel arch/csky patches for 5.3-rc1 2019-07-19 12:15:33 -07:00
lib treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mm csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range 2019-08-06 15:15:34 +08:00
Kconfig csky: Select intc & timer drivers 2019-07-19 14:21:36 +08:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile kconfig: make arch/*/configs/defconfig the default of KBUILD_DEFCONFIG 2019-06-09 15:08:18 +09:00