AArch64 arch_spin_unlock not signaling global event?

Andrei E. Warkentin andrey.warkentin at gmail.com
Thu Aug 1 06:23:55 EDT 2013


2013/8/1 Will Deacon <will.deacon at arm.com>:
> On Wed, Jul 31, 2013 at 09:19:13PM +0100, Andrei E. Warkentin wrote:
>> Hiya,
>>
>> I've noticed the AArch64 arch_spin_unlock is implemented with the
>> 'stlr' instruction.
>>
>> Shouldn't that be followed by a 'sev'?
>
> No. In ARMv8, When the exclusive is cleared for a processor, an event is
> generated.
>
> Will

But 'stlr' doesn't appear to be an exclusive instruction. It's filed
under 5.2.8.1 - Non-exclusive load-acquire/store-release in the ISA
doc.

The Foundation_v8 sim behavior seems to confirm that as well.

-- 
A



More information about the linux-arm-kernel mailing list