]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96f1c4d7356ac3bddaac11e68edc65ed31cc9e17
tree830915f73d05e7d094d2f293a712e05c0da1e6f5
parent006f973310bf7ef47fbccc66d17d2609fdc1ab42
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