riscv: Add support for Zicbop
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Mon, 21 Apr 2025 14:24:39 +0000 (16:24 +0200)
committerPalmer Dabbelt <palmer@dabbelt.com>
Thu, 5 Jun 2025 18:09:37 +0000 (11:09 -0700)
commit8d496b5a989120c1bce1ad8eb48ebae0350722d7
tree4c01c411bfe5c6cab76e4ccde313bddca25f3819
parentf0f4e64b9e3527c11dc6dcb005e577d661eb9ab5
riscv: Add support for Zicbop

Zicbop introduces cache blocks prefetching instructions, add the
necessary support for the kernel to use it in the coming commits.

Co-developed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Guo Ren <guoren@kernel.org>
Tested-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20250421142441.395849-3-alexghiti@rivosinc.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
arch/riscv/Kconfig
arch/riscv/include/asm/barrier.h
arch/riscv/include/asm/cacheflush.h
arch/riscv/include/asm/hwcap.h
arch/riscv/include/asm/insn-def.h
arch/riscv/include/asm/processor.h
arch/riscv/kernel/cpufeature.c
arch/riscv/mm/cacheflush.c