From: Tim Deegan Subject: Re: [PATCH 08/45] xen: arm64: spinlocks Date: Thu, 14 Feb 2013 11:20:05 +0000 Message-ID: <20130214112005.GG83752@ocelot.phlegethon.org> References: <1358956576.17440.60.camel@zakaz.uk.xensource.com> <1358956611-8432-8-git-send-email-ian.campbell@citrix.com> <20130207144202.GH77133@ocelot.phlegethon.org> <20130207153459.GL77133@ocelot.phlegethon.org> <1360252296.32479.82.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1360252296.32479.82.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Stefano Stabellini , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org At 15:51 +0000 on 07 Feb (1360252296), Ian Campbell wrote: > On Thu, 2013-02-07 at 15:34 +0000, Tim Deegan wrote: > > At 14:42 +0000 on 07 Feb (1360248122), Tim Deegan wrote: > > > The 32-bit ones have a scattering of DSBs and SEVs that aren't there in > > > 64-bit. The DSBs at least seem useful. Not sure about SEV - presumably > > > that's useful if the slow path has a WFE in it? > > > > OK, I see the arm64 versions are using the new load-acquire/store-release > > instructions so no DSBs or DMBs should be necessary. Still puzzled by > > the SEV. > > The ldar/strl generate the sev's as appropriate too. OK. We talked aout working the WFE into the loop for spinlocks, which would be non-trivial since today that loop happens in common code. I'm OK with taking this much in to unblock other dev work, as long as a WFE is going to happen eventually. Acked-by: Tim Deegan