From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 04/21] xen/arm: p2m: apply_p2m_changes: Only load domain P2M when we flush TLBs Date: Mon, 28 Apr 2014 14:57:58 +0100 Message-ID: <535E5E66.4020404@linaro.org> References: <1398172475-27873-1-git-send-email-julien.grall@linaro.org> <1398172475-27873-5-git-send-email-julien.grall@linaro.org> <1398693267.29700.115.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wem4J-0000aV-Ah for xen-devel@lists.xenproject.org; Mon, 28 Apr 2014 13:58:03 +0000 Received: by mail-ee0-f49.google.com with SMTP id c41so4932622eek.36 for ; Mon, 28 Apr 2014 06:58:00 -0700 (PDT) In-Reply-To: <1398693267.29700.115.camel@kazak.uk.xensource.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: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On 04/28/2014 02:54 PM, Ian Campbell wrote: > On Tue, 2014-04-22 at 14:14 +0100, Julien Grall wrote: >> apply_p2m_changes needs to switch to another VTTBR temporarily to avoid >> flush every TLBs. >> >> As it's only needed there, we can restrict the scope where the VTTBR of this >> domain is loaded. >> >> Signed-off-by: Julien Grall > > Acked-by: Ian Campbell > > Athough a flush_tlb_domain(d) type thing might be a nice addition. I will add a flush_tlb_domain in the next version of this patch series. Regards, -- Julien Grall