summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop13xx
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-08-24 18:20:59 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-08-25 12:15:56 +0400
commitdbece45894d3ab1baac15a96dc4e1e8e23f64a93 (patch)
treea1454fd7596c527fdcedde312b89679941b7061c /arch/arm/mach-iop13xx
parentd968d2b801d877601d54e35e6dd0f52d9c797c99 (diff)
downloadlinux-dbece45894d3ab1baac15a96dc4e1e8e23f64a93.tar.xz
ARM: 7501/1: decompressor: reset ttbcr for VMSA ARMv7 cores
When enabling the MMU for ARMv7 CPUs, the decompressor does not touch the ttbcr register, assuming that it will be zeroed (N == 0, EAE == 0). Given that only EAE is defined as 0 for non-secure copies of the register (and a bootloader such as kexec may leave it set to 1 anyway), we should ensure that we reset the register ourselves before turning on the MMU. This patch zeroes TTBCR.EAE and TTBCR.N prior to enabling the MMU for ARMv7 cores in the decompressor, configuring us exclusively for 32-bit translation tables via TTBR0. Cc: <stable@vger.kernel.org> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Matthew Leach <matthew.leach@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-iop13xx')
0 files changed, 0 insertions, 0 deletions