From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 1/4] xen/arm: introduce invalidate_xen_dcache_va_range Date: Thu, 02 Oct 2014 12:57:07 +0100 Message-ID: <542D3D93.6000607@linaro.org> References: <1412244158-12124-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1412244158-12124-1-git-send-email-stefano.stabellini@eu.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: Stefano Stabellini , xen-devel@lists.xensource.com Cc: Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hi Stefano, n 10/02/2014 11:02 AM, Stefano Stabellini wrote: > + > +static inline void invalidate_xen_dcache_va_range(const void *p, unsigned long size) > +{ > + size_t off; > + const void *end = p + size; > + > + dsb(sy); /* So the CPU issues all writes to the range */ I'm wondering if we could relax the dsb(sy) to dsb(ish)? In any case: Reviewed-by: Julien Grall Regards, -- Julien Grall