diff options
author | Will Deacon <[email protected]> | 2017-11-14 14:14:17 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-12-11 13:40:50 +0000 |
commit | 51a0048beb449682d632d0af52a515adb9f9882e (patch) | |
tree | a582659ee2e0cf0a7913522ebfedd71841977f64 /tools/perf/scripts/python | |
parent | c7b9adaf85f818d747eeff5145eb4095ccd587fb (diff) |
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 <[email protected]>
Tested-by: Laura Abbott <[email protected]>
Tested-by: Shanker Donthineni <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions