[PATCH] cache: sifive_ccache: Add StarFive JH7110 SoC support
Conor Dooley
conor at kernel.org
Thu Apr 30 12:13:57 PDT 2026
On Thu, Apr 30, 2026 at 03:52:59AM +0000, Dominique Belhachemi wrote:
> This cache controller is also used on the StarFive JH7110 SoC. It does
> not have the data-uncorrectable ECC quirk that JH7100 has, so only
> QUIRK_NONSTANDARD_CACHE_OPS is set.
What's the motivation for enabling the nonstandard cache ops here?
The driver already binds with the generic sifive compatible on this
platform, and there's no peripherals currently supported on this
platform that need non-coherent DMA.
>
> Signed-off-by: Dominique Belhachemi <domibel at debian.org>
> ---
> drivers/cache/sifive_ccache.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/cache/sifive_ccache.c b/drivers/cache/sifive_ccache.c
> index a86800b123b9..2acb8bdf06d5 100644
> --- a/drivers/cache/sifive_ccache.c
> +++ b/drivers/cache/sifive_ccache.c
> @@ -124,6 +124,8 @@ static const struct of_device_id sifive_ccache_ids[] = {
> { .compatible = "sifive,fu740-c000-ccache" },
> { .compatible = "starfive,jh7100-ccache",
> .data = (void *)(QUIRK_NONSTANDARD_CACHE_OPS | QUIRK_BROKEN_DATA_UNCORR) },
> + { .compatible = "starfive,jh7110-ccache",
> + .data = (void *)(QUIRK_NONSTANDARD_CACHE_OPS) },
> { .compatible = "sifive,ccache0" },
> { /* end of table */ }
> };
> --
> 2.53.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260430/edea6c0c/attachment.sig>
More information about the linux-riscv
mailing list