aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/src.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-06-06 12:28:54 +0100
committerEric Miao <eric.miao@linaro.org>2012-01-11 13:51:47 +0800
commit345348b6f5e6e50a792023c84d8dd4f6dcce35fc (patch)
tree9e0a39902803beecb49e7ed3058beb27710e66d2 /arch/arm/mach-imx/src.c
parentd71b208617f22f51f578f8e9bd8dddd22b091cb7 (diff)
ARM: reset: implement soft_restart for jumping to a physical address
Tools such as kexec and CPU hotplug require a way to reset the processor and branch to some code in physical space. This requires various bits of jiggery pokery with the caches and MMU which, when it goes wrong, tends to lock up the system. This patch fleshes out the soft_restart implementation so that it branches to the reset code using the identity mapping. This requires us to change to a temporary stack, held within the kernel image as a static array, to avoid conflicting with the new view of memory. Signed-off-by: Will Deacon <will.deacon@arm.com> (cherry picked from commit 290130a17718c1451bb8a77a5e2510e0279bd5f3)
Diffstat (limited to 'arch/arm/mach-imx/src.c')
0 files changed, 0 insertions, 0 deletions