diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-01-22 04:15:14 +0100 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-02-21 08:43:24 +0100 |
commit | 761b4f694cb90b63ca2739ac8a8a176342636e5e (patch) | |
tree | 3af10af362b1feb39f151015ca4a96c537485745 /arch/csky/Kconfig | |
parent | csky/Kconfig: Add Kconfig.platforms to support some drivers (diff) | |
download | linux-761b4f694cb90b63ca2739ac8a8a176342636e5e.tar.xz linux-761b4f694cb90b63ca2739ac8a8a176342636e5e.zip |
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>
Diffstat (limited to 'arch/csky/Kconfig')
-rw-r--r-- | arch/csky/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig index 1c723cb11cc4..111474b50f69 100644 --- a/arch/csky/Kconfig +++ b/arch/csky/Kconfig @@ -231,6 +231,10 @@ config CPU_HAS_FPU bool "CPU has FPU coprocessor" depends on CPU_CK807 || CPU_CK810 || CPU_CK860 +config CPU_HAS_ICACHE_INS + bool "CPU has Icache invalidate instructions" + depends on CPU_HAS_CACHEV2 + config CPU_HAS_TEE bool "CPU has Trusted Execution Environment" depends on CPU_CK810 |