From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH] arm: map DTB as outer- rather than inner-shareable. Date: Thu, 15 Mar 2012 12:21:09 +0000 Message-ID: <4F61DEB5.1090008@citrix.com> References: <1331813584-23339-1-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: <1331813584-23339-1-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: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 15/03/12 12:13, Ian Campbell wrote: > This is consistent with how we map Xen which is important if they happen to be > in the same 2MB super page (which they generally are) Not sure why I made this different. Acked-by: David Vrabel > > Signed-off-by: Ian Campbell > --- > xen/arch/arm/head.S | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/xen/arch/arm/head.S b/xen/arch/arm/head.S > index 606ae66..4b05bcd 100644 > --- a/xen/arch/arm/head.S > +++ b/xen/arch/arm/head.S > @@ -238,7 +238,7 @@ hyp: > mov r3, #0x0 > lsr r2, r8, #21 > lsl r2, r2, #21 /* 2MB-aligned paddr of DTB */ > - orr r2, r2, #0xf00 > + orr r2, r2, #0xe00 > orr r2, r2, #0x07d /* r2:r3 := 2MB RAM incl. DTB */ > add r4, r4, #8 > strd r2, r3, [r1, r4] /* Map it in the early boot slot */