]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: mm: don't use the access flag permissions mechanism for classic MMU
authorWill Deacon <will.deacon@arm.com>
Thu, 30 Aug 2012 23:57:03 +0000 (00:57 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Nov 2012 14:13:19 +0000 (14:13 +0000)
The simplified access permissions model is not used for the classic MMU
translation regime, so ensure that it is turned off in the sctlr prior
to turning on address translation for ARMv7.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/mm/proc-v7-2level.S

index fd045e706390dc0ddafb0560d2be66b1568cd69f..e37600b91b25538b2bec3a113bd6d16f05beb904 100644 (file)
@@ -161,11 +161,11 @@ ENDPROC(cpu_v7_set_pte_ext)
         *  TFR   EV X F   I D LR    S
         * .EEE ..EE PUI. .T.T 4RVI ZWRS BLDP WCAM
         * rxxx rrxx xxx0 0101 xxxx xxxx x111 xxxx < forced
-        *    1    0 110       0011 1100 .111 1101 < we want
+        *   01    0 110       0011 1100 .111 1101 < we want
         */
        .align  2
        .type   v7_crval, #object
 v7_crval:
-       crval   clear=0x0120c302, mmuset=0x10c03c7d, ucset=0x00c01c7c
+       crval   clear=0x2120c302, mmuset=0x10c03c7d, ucset=0x00c01c7c
 
        .previous