Re: [PATCH v2 07/11] powerpc: Annotate accesses to ipi message flags

2023-05-14 Thread Nicholas Piggin
On Wed May 10, 2023 at 1:31 PM AEST, Rohan McLure wrote: > IPI message flags are observed and consequently consumed in the > smp_ipi_demux_relaxed function, which handles these message sources > until it observes none more arriving. Mark the checked loop guard with > READ_ONCE, to signal to KCSAN t

[PATCH v2 07/11] powerpc: Annotate accesses to ipi message flags

2023-05-09 Thread Rohan McLure
IPI message flags are observed and consequently consumed in the smp_ipi_demux_relaxed function, which handles these message sources until it observes none more arriving. Mark the checked loop guard with READ_ONCE, to signal to KCSAN that the read is known to be volatile, and that non-determinism is