Re: [PATCH v2] lib/crypto: riscv/chacha: Avoid s0/fp register
From: patchwork-bot+linux-riscv
Date: Fri Dec 19 2025 - 03:13:29 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Eric Biggers <ebiggers@xxxxxxxxxx>:
On Tue, 02 Dec 2025 13:25:07 +0800 you wrote:
> In chacha_zvkb, avoid using the s0 register, which is the frame pointer,
> by reallocating KEY0 to t5. This makes stack traces available if e.g. a
> crash happens in chacha_zvkb.
>
> No frame pointer maintenence is otherwise required since this is a leaf
> function.
>
> [...]
Here is the summary with links:
- [v2] lib/crypto: riscv/chacha: Avoid s0/fp register
https://git.kernel.org/riscv/c/43169328c7b4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html