]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit761b4f694cb90b63ca2739ac8a8a176342636e5e
tree3af10af362b1feb39f151015ca4a96c537485745
parenta736fa1ed772e3640e1bfaab36032c5a285d6a7b
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