From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 5/6] xen: arm: relax barriers in tlb flushes Date: Thu, 03 Apr 2014 12:12:13 +0100 Message-ID: <533D420D.3000806@linaro.org> References: <1396515560.4211.33.camel@kazak.uk.xensource.com> <1396515585-5737-5-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1396515585-5737-5-git-send-email-ian.campbell@citrix.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@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 04/03/2014 09:59 AM, Ian Campbell wrote: > @@ -333,12 +333,12 @@ static inline void flush_xen_data_tlb_range_va(unsigned long va, > unsigned long size) > { > unsigned long end = va + size; > - dsb(sy); /* Ensure preceding are visible */ > + dsb(ish); /* Ensure preceding are visible */ I'm a bit lost with ish/nsh/sy/... shall we keep sy here? flush_xen_data_tlb is used in iounmap and we want to make sure that every write as been done just before. Regards, -- Julien Grall