From: Ian Campbell Subject: Re: [PATCH 01/10] xen: arm: map memory as inner shareable. Date: Thu, 4 Jul 2013 12:03:00 +0100 Message-ID: <1372935780.7184.48.camel@kazak.uk.xensource.com> References: <1372435809.8976.169.camel@zakaz.uk.xensource.com> <1372435856-14040-1-git-send-email-ian.campbell@citrix.com> <20130704105801.GA40611@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130704105801.GA40611@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: julien.grall@citrix.com, stefano.stabellini@eu.citrix.com, Leif Lindholm , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-07-04 at 11:58 +0100, Tim Deegan wrote: > At 17:10 +0100 on 28 Jun (1372439447), Ian Campbell wrote: > > @@ -219,7 +249,7 @@ static inline lpae_t mfn_to_p2m_entry(unsigned long mfn, unsigned int mattr) > > lpae_t e = (lpae_t) { > > .p2m.xn = 0, > > .p2m.af = 1, > > - .p2m.sh = LPAE_SH_OUTER, > > + .p2m.sh = LPAE_SH_INNER, > > .p2m.write = 1, > > .p2m.read = 1, > > .p2m.mattr = mattr, > > I think we need to leave MMIO mappings outer-shareable (or full-system > as appropriate), which means adding the same mechanism that you did for > the xen PT mappings. Yes, good catch. THanks > > Otherwise, this looks fine. > > Cheers, > > Tim. >