[PATCH] cache: sifive_ccache: Optimize cache flushes

Conor Dooley conor at kernel.org
Thu Sep 11 11:24:06 PDT 2025


From: Conor Dooley <conor.dooley at microchip.com>

On Tue, 09 Sep 2025 15:41:27 -0700, Samuel Holland wrote:
> Fence instructions are required only at the beginning and the end of
> a flush operation, not separately for each cache line being flushed.
> Speed up cache flushes by about 15% by removing the extra fences.
> 
> 

Applied to riscv-cache-for-next, thanks!

[1/1] cache: sifive_ccache: Optimize cache flushes
      https://git.kernel.org/conor/c/941327ca5ddd

Thanks,
Conor.



More information about the linux-riscv mailing list