Re: [PATCH 01/12] powerpc: qspinlock: Fix qnode->locked value interpretation

2023-05-08 Thread Rohan McLure
> On 9 May 2023, at 12:01 pm, Nicholas Piggin wrote: > > On Mon May 8, 2023 at 12:01 PM AEST, Rohan McLure wrote: >> A comment accompanying the locked attribute of a qnode assigns a value >> of 1 to mean that the lock has been acquired. The usages of this >> variable however assume opposite seman

Re: [PATCH 01/12] powerpc: qspinlock: Fix qnode->locked value interpretation

2023-05-08 Thread Nicholas Piggin
On Mon May 8, 2023 at 12:01 PM AEST, Rohan McLure wrote: > A comment accompanying the locked attribute of a qnode assigns a value > of 1 to mean that the lock has been acquired. The usages of this > variable however assume opposite semantics. Update usages so that the > assertions of this comment a

[PATCH 01/12] powerpc: qspinlock: Fix qnode->locked value interpretation

2023-05-07 Thread Rohan McLure
A comment accompanying the locked attribute of a qnode assigns a value of 1 to mean that the lock has been acquired. The usages of this variable however assume opposite semantics. Update usages so that the assertions of this comment are reflected in this file. Signed-off-by: Rohan McLure --- arc