[PATCH RESEND v4 0/2] riscv: errata: thead: use riscv_nonstd_cache_ops for CMO

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Thu Jan 11 06:50:37 PST 2024


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:

On Tue, 14 Nov 2023 22:33:36 +0800 you wrote:
> Previously, we use alternative mechanism to dynamically patch
> the CMO operations for THEAD C906/C910 during boot for performance
> reason. But as pointed out by Arnd, "there is already a significant
> cost in accessing the invalidated cache lines afterwards, which is
> likely going to be much higher than the cost of an indirect branch".
> And indeed, there's no performance difference with GMAC and EMMC per
> my test on Sipeed Lichee Pi 4A board.
> 
> [...]

Here is the summary with links:
  - [RESEND,v4,1/2] riscv: errata: thead: use riscv_nonstd_cache_ops for CMO
    https://git.kernel.org/riscv/c/a4ff64edf9ed
  - [RESEND,v4,2/2] riscv: errata: thead: use pa based instructions for CMO
    https://git.kernel.org/riscv/c/3690492612ec

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list