diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-04-13 18:21:35 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-19 18:23:22 +0200 |
commit | d0f9ca9be11f25ef4151195eab7ea36d136084f6 (patch) | |
tree | 842ac1c29d90b20a67b1d1f535246b707189c758 /drivers/remoteproc/qcom_wcnss.h | |
parent | 35d57d1215ed0da3349180275b845f0c2ee62d08 (diff) | |
download | linux-stable-d0f9ca9be11f25ef4151195eab7ea36d136084f6.tar.gz linux-stable-d0f9ca9be11f25ef4151195eab7ea36d136084f6.tar.bz2 linux-stable-d0f9ca9be11f25ef4151195eab7ea36d136084f6.zip |
ARM: decompressor: run decompressor in place if loaded via UEFI
The decompressor can load from anywhere in memory, and the only reason
the EFI stub code relocates it is to ensure it appears within the first
128 MiB of memory, so that the uncompressed kernel ends up at the right
offset in memory.
We can short circuit this, and simply jump into the decompressor startup
code at the point where it knows where the base of memory lives. This
also means there is no need to disable the MMU and caches, create new
page tables and re-enable them.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'drivers/remoteproc/qcom_wcnss.h')
0 files changed, 0 insertions, 0 deletions