arm: map DTB as outer- rather than inner-shareable.
PATCH 1/1 arm: map DTB as outer- rather than inner-shareable.
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 <[email protected]>
--- xen/arch/arm/head.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
xen/arch/arm/head.S +1 -1
@@ -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 */
Signature · 1 line
1.7.2.5
Quoted 2 lines · 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)
Not sure why I made this different.
Acked-by David Vrabel <[email protected]>
Quoted 19 lines
Signed-off-by Ian Campbell <[email protected]>--- xen/arch/arm/head.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)xen/arch/arm/head.S +1
-1@@ -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 */
Quoted 7 lines · David Vrabel
Quoted 2 lines · 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)
Not sure why I made this different.
Acked-by David Vrabel <[email protected]>
Thanks, committed.
Quoted 21 lines
Quoted 20 lines
Signed-off-by Ian Campbell <[email protected]>--- xen/arch/arm/head.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)xen/arch/arm/head.S +1
-1@@ -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 */