https://github.com/torvalds/linux
Revision 0f81bb6b051ad760686b5b0fef8c731282c16ef5 authored by Will Deacon on 26 August 2011, 15:34:51 UTC, committed by Russell King on 28 August 2011, 09:39:53 UTC
cpu_v7_reset disables the MMU and then branches to the provided address.
On Thumb-2 kernels, we should take care to clear the Thumb Exception
enable bit in the System Control Register, otherwise this may wreak
havok in the code to which we are branching (for example, an ARM kernel
image via kexec).

Reviewed-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 552e0c8
History
Tip revision: 0f81bb6b051ad760686b5b0fef8c731282c16ef5 authored by Will Deacon on 26 August 2011, 15:34:51 UTC
ARM: 7066/1: proc-v7: disable SCTLR.TE when disabling MMU
Tip revision: 0f81bb6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.2 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top