commit | 95209863a4df2eaeaad1f176b2f3bae6774b09b5 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Wed Feb 15 15:11:13 2017 +0000 |
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Tue May 30 20:54:51 2017 +0000 |
tree | 8b0a4131f1455e511dc5537130bb97ec59e7c356 | |
parent | 327ec1603ba23834b9394b659753df7947d7b5ec [diff] |
arm64: efi: use effective text offset when allocating Image Update the image allocation logic in the EFI stub so that the effective text offset is always honoured on 4 KB pagesize kernels. This ensures that the __init segment can be mapped without resorting to early RWX mappings. Note that this sacrifices 5 bits of KASLR randomization on such kernels. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>