linux/arch/csky/include/asm
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
..
addrspace.h csky: MMU and page table management 2018-10-25 23:36:19 +08:00
asid.h csky: Add new asid lib code from arm 2019-07-19 14:21:36 +08:00
atomic.h csky: Atomic operations 2018-10-26 00:54:23 +08:00
barrier.h csky: Fixup mb() synchronization problem 2019-07-31 11:04:29 +08:00
bitops.h fls: change parameter to unsigned int 2019-01-04 13:13:46 -08:00
bug.h csky: Debug and Ptrace GDB 2018-10-26 00:54:25 +08:00
cache.h csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range 2019-08-06 15:15:34 +08:00
cacheflush.h csky: Cache and TLB routines 2018-10-25 23:36:19 +08:00
checksum.h csky: Misc headers 2018-10-26 00:54:26 +08:00
cmpxchg.h csky: Atomic operations 2018-10-26 00:54:23 +08:00
elf.h csky: Add EM_CSKY_OLD 39 2018-12-31 23:17:24 +08:00
fixmap.h csky: MMU and page table management 2018-10-25 23:36:19 +08:00
ftrace.h csky/ftrace: Add dynamic function tracer (include graph tracer) 2019-04-22 13:44:57 +08:00
highmem.h csky: MMU and page table management 2018-10-25 23:36:19 +08:00
io.h csky: fixup CACHEV1 store instruction fast retire 2019-01-08 23:42:42 +08:00
irqflags.h csky: IRQ handling 2018-10-26 00:54:22 +08:00
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
mmu_context.h csky: Use generic asid algorithm to implement switch_mm 2019-07-19 14:21:36 +08:00
mmu.h csky: Use generic asid algorithm to implement switch_mm 2019-07-19 14:21:36 +08:00
page.h csky: Use va_pa_offset instead of phys_offset 2019-04-22 13:44:57 +08:00
perf_event.h csky: Add perf_arch_fetch_caller_regs support 2019-04-22 13:44:57 +08:00
pgalloc.h csky: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
pgtable.h csky: Fixup dma_alloc_coherent with PAGE_SO attribute 2019-07-31 11:05:25 +08:00
processor.h csky: coding convention: Use task_stack_page 2019-02-13 09:48:14 +08:00
ptrace.h csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
reg_ops.h csky: Misc headers 2018-10-26 00:54:26 +08:00
segment.h get rid of legacy 'get_ds()' function 2019-03-04 10:50:14 -08:00
shmparam.h csky: MMU and page table management 2018-10-25 23:36:19 +08:00
smp.h csky: CPU-hotplug supported for SMP 2018-12-31 23:03:53 +08:00
spinlock_types.h csky: Atomic operations 2018-10-26 00:54:23 +08:00
spinlock.h csky: Atomic operations 2018-10-26 00:54:23 +08:00
string.h csky: Library functions 2018-10-26 00:54:24 +08:00
switch_to.h csky: Process management and Signal 2018-10-26 00:54:13 +08:00
syscall.h arch/csky patches for 5.2-rc1 2019-05-08 11:41:08 -07:00
syscalls.h csky: System Call 2018-10-25 23:36:19 +08:00
thread_info.h csky: Update syscall_trace_enter/exit implementation 2019-04-22 13:44:57 +08:00
tlb.h csky: Cache and TLB routines 2018-10-25 23:36:19 +08:00
tlbflush.h csky: Cache and TLB routines 2018-10-25 23:36:19 +08:00
traps.h csky: Exception handling and mm-fault 2018-10-25 23:36:19 +08:00
uaccess.h Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
unistd.h csky: Update syscall_trace_enter/exit implementation 2019-04-22 13:44:57 +08:00
vdso.h csky: VDSO and rt_sigreturn 2018-10-26 00:54:22 +08:00