From ec51e91eaa4e55e6babe0b37387645e75f7ded61 Mon Sep 17 00:00:00 2001 From: Nick Hu Date: Fri, 14 Nov 2025 11:22:46 +0800 Subject: lib: utils/cache: Add SiFive PL2 controller SiFive Private L2(PL2) cache is a private cache owned by each hart. Add this driver to support private cache flush operations via the MMIO registers. Co-developed-by: Eric Lin Signed-off-by: Eric Lin Co-developed-by: Zong Li Signed-off-by: Zong Li Co-developed-by: Vincent Chen Signed-off-by: Vincent Chen Co-developed-by: Samuel Holland Signed-off-by: Samuel Holland Signed-off-by: Nick Hu Reviewed-by: Anup Patel Link: https://lore.kernel.org/r/20251114-sifive-cache-drivers-v1-2-8423a721924c@sifive.com Signed-off-by: Anup Patel --- lib/utils/cache/objects.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/utils/cache/objects.mk') diff --git a/lib/utils/cache/objects.mk b/lib/utils/cache/objects.mk index 6829a96..37d250d 100644 --- a/lib/utils/cache/objects.mk +++ b/lib/utils/cache/objects.mk @@ -11,4 +11,7 @@ libsbiutils-objs-$(CONFIG_FDT_CACHE) += cache/fdt_cmo_helper.o carray-fdt_cache_drivers-$(CONFIG_FDT_CACHE_SIFIVE_CCACHE) += fdt_sifive_ccache libsbiutils-objs-$(CONFIG_FDT_CACHE_SIFIVE_CCACHE) += cache/fdt_sifive_ccache.o +carray-fdt_cache_drivers-$(CONFIG_FDT_CACHE_SIFIVE_PL2) += fdt_sifive_pl2 +libsbiutils-objs-$(CONFIG_FDT_CACHE_SIFIVE_PL2) += cache/fdt_sifive_pl2.o + libsbiutils-objs-$(CONFIG_CACHE) += cache/cache.o -- cgit v1.1