[PATCH v2] riscv: add icache flush for nommu sigreturn trampoline
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Tue Apr 11 13:00:17 PDT 2023
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer at rivosinc.com>:
On Thu, 6 Apr 2023 12:11:31 +0200 you wrote:
> In a NOMMU kernel, sigreturn trampolines are generated on the user
> stack by setup_rt_frame. Currently, these trampolines are not instruction
> fenced, thus their visibility to ifetch is not guaranteed.
>
> This patch adds a flush_icache_range in setup_rt_frame to fix this
> problem.
>
> [...]
Here is the summary with links:
- [v2] riscv: add icache flush for nommu sigreturn trampoline
https://git.kernel.org/riscv/c/8d736482749f
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