summaryrefslogtreecommitdiff
path: root/arch/csky/mm/syscache.c
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21csky: Add flush_icache_mm to defer flush icache allGuo Ren1-8/+5
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 Ren1-0/+32
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>