Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cache: Add StarFive StarLink cache management

Add StarFive Starlink cache management driver.
The driver enables RISC-V non-standard cache
operation on SoC that does not support Zicbom
extension instructions.

Signed-off-by: Joshua Yeong <joshua.yeong@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

authored by

Joshua Yeong and committed by
Conor Dooley
cabff60c c6005d4d

+142 -2
+9
drivers/cache/Kconfig
··· 14 14 help 15 15 Support for the composable cache controller on SiFive platforms. 16 16 17 + config STARFIVE_STARLINK_CACHE 18 + bool "StarFive StarLink Cache controller" 19 + depends on RISCV 20 + depends on ARCH_STARFIVE 21 + select RISCV_DMA_NONCOHERENT 22 + select RISCV_NONSTANDARD_CACHE_OPS 23 + help 24 + Support for the StarLink cache controller IP from StarFive. 25 + 17 26 endmenu
+3 -2
drivers/cache/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 - obj-$(CONFIG_AX45MP_L2_CACHE) += ax45mp_cache.o 4 - obj-$(CONFIG_SIFIVE_CCACHE) += sifive_ccache.o 3 + obj-$(CONFIG_AX45MP_L2_CACHE) += ax45mp_cache.o 4 + obj-$(CONFIG_SIFIVE_CCACHE) += sifive_ccache.o 5 + obj-$(CONFIG_STARFIVE_STARLINK_CACHE) += starfive_starlink_cache.o