csky: Add flush_icache_mm to defer flush icache all
authorGuo Ren <guoren@linux.alibaba.com>
Fri, 31 Jan 2020 12:33:10 +0000 (20:33 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 21 Feb 2020 07:43:24 +0000 (15:43 +0800)
commit997153b9a75c08d545ad45e6f8ceb432435d2425
tree830915f73d05e7d094d2f293a712e05c0da1e6f5
parentcc1f6563a92ced0889775d0587316d725b6e1a68
csky: Add flush_icache_mm to defer flush icache all

Some CPUs don't support icache.va instruction to maintain the whole
smp cores' icache. Using icache.all + IPI casue a lot on performace
and using defer mechanism could reduce the number of calling icache
_flush_all functions.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/abiv1/inc/abi/cacheflush.h
arch/csky/abiv2/cacheflush.c
arch/csky/abiv2/inc/abi/cacheflush.h
arch/csky/include/asm/cacheflush.h
arch/csky/include/asm/mmu.h
arch/csky/include/asm/mmu_context.h
arch/csky/mm/syscache.c