]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Support icache flush without specific instructions
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 22 Jan 2020 03:15:14 +0000 (11:15 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 21 Feb 2020 07:43:24 +0000 (15:43 +0800)
commitb49ed7088a1c27a3ef6e8a9524ea7b94f0466d48
tree3af10af362b1feb39f151015ca4a96c537485745
parent0ed60218de56932ed7ecc63178aa36dd5b73b740
csky: Support icache flush without specific instructions

Some CPUs don't support icache specific instructions to flush icache
lines in broadcast way. We use cpu control registers to flush local
icache and use IPI to notify other cores.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/Kconfig
arch/csky/include/asm/cache.h
arch/csky/mm/cachev1.c
arch/csky/mm/cachev2.c