From: Ian Campbell Subject: Re: [PATCH 05/17] xen: arm32: resync atomics with (almost) v3.14-rc7 Date: Fri, 21 Mar 2014 08:41:05 +0000 Message-ID: <1395391265.11953.6.camel@dagon.hellion.org.uk> References: <1395330336.3104.12.camel@kazak.uk.xensource.com> <1395330365-9901-5-git-send-email-ian.campbell@citrix.com> <532B2501.1080503@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <532B2501.1080503@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-03-20 at 17:27 +0000, Julien Grall wrote: > Hi Ian, > > On 03/20/2014 03:45 PM, Ian Campbell wrote: > > diff --git a/xen/include/asm-arm/arm32/atomic.h b/xen/include/asm-arm/arm32/atomic.h > > index 3f024d4..d309f66 100644 > > --- a/xen/include/asm-arm/arm32/atomic.h > > +++ b/xen/include/asm-arm/arm32/atomic.h > > @@ -21,6 +21,7 @@ static inline void atomic_add(int i, atomic_t *v) > > unsigned long tmp; > > int result; > > > > + prefetchw(&v->counter); > > Xen on ARM doesn't provide prefetch* helper. Shall we implement it? It comes from generic code after the first patch in this series. Ian.