diff options
author | Dave Martin <dave.martin@linaro.org> | 2012-02-10 18:07:07 -0800 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-09-19 08:32:50 +0100 |
commit | 424e5994e63326a42012f003f1174f3c363c7b62 (patch) | |
tree | d8ff950676dac0fc3b38d6801423f996f8b20214 /arch/arm/boot/compressed/.gitignore | |
parent | 80c59dafb1a9a86fa996e6e34d06b60567c925ca (diff) | |
download | linux-424e5994e63326a42012f003f1174f3c363c7b62.tar.bz2 |
ARM: zImage/virt: hyp mode entry support for the zImage loader
The zImage loader needs to turn on the MMU in order to take
advantage of caching while decompressing the zImage. Running this
in hyp mode would require the LPAE pagetable format to be
supported; to avoid this complexity, this patch switches out of hyp
mode, and returns back to hyp mode just before booting the kernel.
This implementation assumes that the Hyp mode view of memory and the
PL1 view of memory are coherent, providing that the MMU and caches
are off in both, as required by the boot protocol. The zImage
decompression code must drain the write buffer on completion anyway, and
entry into Hyp mode should flush any prefetch buffer, avoiding hazards
associated with local write buffers and the pipeline.
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/boot/compressed/.gitignore')
-rw-r--r-- | arch/arm/boot/compressed/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/.gitignore b/arch/arm/boot/compressed/.gitignore index d0d441c429ae..f79a08efe000 100644 --- a/arch/arm/boot/compressed/.gitignore +++ b/arch/arm/boot/compressed/.gitignore @@ -1,6 +1,7 @@ ashldi3.S font.c lib1funcs.S +hyp-stub.S piggy.gzip piggy.lzo piggy.lzma |