From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 3/6] xen: arm: flush TLB on all CPUs when setting or clearing fixmaps Date: Thu, 03 Apr 2014 11:58:02 +0100 Message-ID: <533D3EBA.6060402@linaro.org> References: <1396515560.4211.33.camel@kazak.uk.xensource.com> <1396515585-5737-3-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-3-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: > +/* > + * Flush a range of VA's hypervisor mappings from the data TLB of all > + * processors in the inner-shareable domain. This is not sufficient > + * when changing code mappings or for self modifying code. > + */ > +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 */ > + while ( va < end ) { Same error as the previous patch :): while ( ... ) { Except that: Acked-by: Julien Grall Regards, -- Julien Grall