arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 14:41:01 +0000 (14:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:22:49 +0000 (20:22 +0100)
commit332e0288200f6afe070e2c126680130195cec3d9
tree282c8912abb7261dad640f11071cb37229cb20e6
parent68a65ce7039aa247b911e00ed5c743db35167781
arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0

Commit 084eb77cd3a8 upstream.

Add a Kconfig entry to control use of the entry trampoline, which allows
us to unmap the kernel whilst running in userspace and improve the
robustness of KASLR.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/Kconfig