summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-11-14 17:14:17 +0300
committerWill Deacon <will.deacon@arm.com>2017-12-11 16:40:50 +0300
commit51a0048beb449682d632d0af52a515adb9f9882e (patch)
treea582659ee2e0cf0a7913522ebfedd71841977f64 /arch/arm
parentc7b9adaf85f818d747eeff5145eb4095ccd587fb (diff)
downloadlinux-51a0048beb449682d632d0af52a515adb9f9882e.tar.xz
arm64: mm: Map entry trampoline into trampoline and kernel page tables
The exception entry trampoline needs to be mapped at the same virtual address in both the trampoline page table (which maps nothing else) and also the kernel page table, so that we can swizzle TTBR1_EL1 on exceptions from and return to EL0. This patch maps the trampoline at a fixed virtual address in the fixmap area of the kernel virtual address space, which allows the kernel proper to be randomized with respect to the trampoline when KASLR is enabled. 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>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions