Re: [PATCH 29/31] arch,xtensa: Convert smp_mb__*

From: Peter Zijlstra
Date: Wed Mar 19 2014 - 09:30:54 EST


On Wed, Mar 19, 2014 at 05:11:34PM +0400, Max Filippov wrote:
> Hi Peter,
>
> On Wed, Mar 19, 2014 at 10:47 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > Xtensa SMP has ll/sc which is fully serializing, therefore its exising
>
> One minor correction: current xtensa ISA doens't have ll/sc, it only
> has cas (s32c1i instruction), which is fully serializing.

Oh; my bad in reading your asm. The l32i and s32cli read like a load 32
and store 32 conditional to me. But sure, cas works too :-)

I'll ammend the changelog. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/