All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: map DTB as outer- rather than inner-shareable.
@ 2012-03-15 12:13 Ian Campbell
  2012-03-15 12:21 ` David Vrabel
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2012-03-15 12:13 UTC (permalink / raw)
  To: xen-devel; +Cc: david.vrabel, Ian Campbell

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)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 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 */
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-15 15:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 12:13 [PATCH] arm: map DTB as outer- rather than inner-shareable Ian Campbell
2012-03-15 12:21 ` David Vrabel
2012-03-15 15:22   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.