[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200723203046.GI32057@gate.crashing.org>
Date: Thu, 23 Jul 2020 15:30:46 -0500
From: Segher Boessenkool <segher@...nel.crashing.org>
To: peterz@...radead.org
Cc: Waiman Long <longman@...hat.com>, linux-arch@...r.kernel.org,
Boqun Feng <boqun.feng@...il.com>,
virtualization@...ts.linux-foundation.org,
linuxppc-dev@...ts.ozlabs.org, Nicholas Piggin <npiggin@...il.com>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
kvm-ppc@...r.kernel.org, Will Deacon <will@...nel.org>
Subject: Re: [PATCH v3 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR
On Thu, Jul 23, 2020 at 09:58:55PM +0200, peterz@...radead.org wrote:
> asm ("addb %[val], %b[var];"
> "cmovc %[sat], %[var];"
> : [var] "+r" (tmp)
> : [val] "ir" (val), [sat] "r" (sat)
> );
"var" (operand 0) needs an earlyclobber ("sat" is read after "var" is
written for the first time).
Segher
Powered by blists - more mailing lists