Re: [PATCH 1/2] powerpc/irq: Don't open code irq_soft_mask helpers

2022-07-04 Thread Michael Ellerman
On Wed, 18 May 2022 10:32:27 +0200, Christophe Leroy wrote: > Use READ_ONCE() and WRITE_ONCE() instead of open coding > read and write of local PACA irq_soft_mask. > > For the write, add a barrier to keep the memory clobber > that was there previously. > > > [...] Applied to powerpc/next.

[PATCH 1/2] powerpc/irq: Don't open code irq_soft_mask helpers

2022-05-18 Thread Christophe Leroy
Use READ_ONCE() and WRITE_ONCE() instead of open coding read and write of local PACA irq_soft_mask. For the write, add a barrier to keep the memory clobber that was there previously. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/hw_irq.h | 43 +-- 1