2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>

* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit
        in SCTLR_EL3. Add dsb.
This commit is contained in:
Jeff Johnston 2014-01-24 19:01:15 +00:00
parent 76e4f83fc6
commit 0388ee3d90
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit
in SCTLR_EL3. Add dsb.
2014-01-10 Jeff Johnston <jjohnstn@redhat.com>
* arm/configure.in: Revert previous fix and change host_makefile_frag

View File

@ -138,9 +138,12 @@ _flat_map:
mrs x0, sctlr_el3
ldr x1, =0x100d /* bits I(12) SA(3) C(2) M(0) */
bic x0, x0, #2 /* clear bit A(1) */
bic x0, x0, #(1 << 1) /* clear bit A(1) */
mov x2, #(1 << 19) /* clear WXN */
bic x0, x0, x2
orr x0, x0, x1 /* set bits */
dsb sy
msr sctlr_el3, x0
isb
ret