summaryrefslogtreecommitdiff
path: root/arch/csky/include/asm/cacheflush.h
AgeCommit message (Collapse)AuthorLines
2020-02-21csky: Add flush_icache_mm to defer flush icache allGuo Ren-0/+1
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>
2018-10-25csky: Cache and TLB routinesGuo Ren-0/+9
This patch adds cache and tlb sync codes for abiv1 & abiv2. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>