From: Ian Campbell Subject: Re: [PATCH 11/45] xen: arm64: TLB flushes Date: Fri, 8 Feb 2013 15:41:09 +0000 Message-ID: <1360338069.29432.62.camel@zakaz.uk.xensource.com> References: <1358956576.17440.60.camel@zakaz.uk.xensource.com> <1358956611-8432-11-git-send-email-ian.campbell@citrix.com> <20130207153119.GK77133@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130207153119.GK77133@ocelot.phlegethon.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: Tim Deegan Cc: Stefano Stabellini , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2013-02-07 at 15:31 +0000, Tim Deegan wrote: > At 15:56 +0000 on 23 Jan (1358956577), Ian Campbell wrote: > > --- /dev/null > > +++ b/xen/include/asm-arm/arm64/flushtlb.h > > @@ -0,0 +1,34 @@ > > +#ifndef __ASM_ARM_ARM64_FLUSHTLB_H__ > > +#define __ASM_ARM_ARM64_FLUSHTLB_H__ > > + > > +/* Flush local TLBs, current VMID only */ > > +static inline void flush_tlb_local(void) > > +{ > > + asm volatile( > > + "dsb sy;" > > + "tlbi vmalle1;" /* ,is ??? */ > > Good question. I think probably not ',is'; at least not until we decide > on, and document, what inner & outer mean on a Xen system. Agreed, dropped the comment. > I see that the 32-bit equivalent does use IS; I think that's proabably > an error too. I have sent out a patch for this. Ian.