]> 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)
commit3c6c4314c12c77bff2677d83c127985f3014e6dc
tree830915f73d05e7d094d2f293a712e05c0da1e6f5
parent6d8865340970c92789c9afa3f24567f83230d617
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