On Tue, 23 Aug 2022 18:36:35 +0200, Christophe Leroy wrote:
> As reported by Zhouyi Zhou, WRITE_ONCE() is not atomic
> as expected when KASAN or KCSAN are compiled in.
>
> Fix it by re-implementing it using inline assembly.
>
>
Applied to powerpc/fixes.
[1/1] powerpc: Fix hard_irq_disable() wi
As reported by Zhouyi Zhou, WRITE_ONCE() is not atomic
as expected when KASAN or KCSAN are compiled in.
Fix it by re-implementing it using inline assembly.
Reported-by: Zhouyi Zhou
Fixes: 077fc62b2b66 ("powerpc/irq: remove inline assembly in hard_irq_disable
macro")
Signed-off-by: Christophe Le