aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/image-vars.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-06-24 17:06:49 +0200
committerWill Deacon <will@kernel.org>2022-06-24 17:18:10 +0100
commitfc5a89f75d2aad3e566e030675ac420aee49729c (patch)
tree617d0e0f991ec441847cc32f4215df0063cadbfa /arch/arm64/kernel/image-vars.h
parentarm64: head: record CPU boot mode after enabling the MMU (diff)
downloadlinux-dev-fc5a89f75d2aad3e566e030675ac420aee49729c.tar.xz
linux-dev-fc5a89f75d2aad3e566e030675ac420aee49729c.zip
arm64: kaslr: defer initialization to initcall where permitted
The early KASLR init code runs extremely early, and anything that could be deferred until later should be. So let's defer the randomization of the module region until much later - this also simplifies the arithmetic, given that we no longer have to reason about the link time vs load time placement of the core kernel explicitly. Also get rid of the global status variable, and infer the status reported by the diagnostic print from other KASLR related context. While at it, get rid of the special case for KASAN without KASAN_VMALLOC, which never occurs in practice. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20220624150651.1358849-20-ardb@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/image-vars.h')
0 files changed, 0 insertions, 0 deletions