summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/cacheflush.h
Commit message (Collapse)AuthorAgeFilesLines
* csky: Fixup compile errorGuo Ren2021-02-271-1/+0
| | | | | | | | | : error: C++ style comments are not allowed in ISO C90 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. ^ error: (this will be reported only once per input file) Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
* csky: Add flush_icache_mm to defer flush icache allGuo Ren2020-02-211-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>
* csky: Cache and TLB routinesGuo Ren2018-10-251-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>