[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <167598585275.27143.16666537067061607902.b4-ty@rivosinc.com>
Date: Thu, 09 Feb 2023 15:37:32 -0800
From: Palmer Dabbelt <palmer@...osinc.com>
To: Arnd Bergmann <arnd@...db.de>,
Conor Dooley <conor.dooley@...rochip.com>,
apatel@...tanamicro.com, atishp@...shpatra.org,
Mark Rutland <mark.rutland@....com>, bjorn@...nel.org,
tongtiangen@...wei.com, ajones@...tanamicro.com,
Andrew Waterman <andrew@...ive.com>, guoren@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
Guo Ren <guoren@...nel.org>
Subject: Re: [PATCH V2] riscv: Fixup race condition on PG_dcache_clean in
flush_icache_pte
On Thu, 26 Jan 2023 22:53:06 -0500, guoren@...nel.org wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
https://git.kernel.org/palmer/c/950b879b7f02
Best regards,
--
Palmer Dabbelt <palmer@...osinc.com>
Powered by blists - more mailing lists