Re: [PATCH V2] riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte

From: patchwork-bot+linux-riscv
Date: Thu Feb 09 2023 - 18:41:20 EST


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Thu, 26 Jan 2023 22:53:06 -0500 you wrote:
> From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
>
> In commit 588a513d3425 ("arm64: Fix race condition on PG_dcache_clean
> in __sync_icache_dcache()"), we found RISC-V has the same issue as the
> previous arm64. The previous implementation didn't guarantee the correct
> sequence of operations, which means flush_icache_all() hasn't been
> called when the PG_dcache_clean was set. That would cause a risk of page
> synchronization.
>
> [...]

Here is the summary with links:
- [V2] riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
https://git.kernel.org/riscv/c/950b879b7f02

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