diff options
author | Will Deacon <[email protected]> | 2017-11-14 14:38:19 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-12-11 13:41:06 +0000 |
commit | ea1e3de85e94d711f63437c04624aa0e8de5c8b3 (patch) | |
tree | f390c46a0ddda1975269041456090a1f09e1ba35 /tools/perf/scripts/python/stackcollapse.py | |
parent | 18011eac28c7cb31c87b86b7d0e5b01894405c7f (diff) |
arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
Allow explicit disabling of the entry trampoline on the kernel command
line (kpti=off) by adding a fake CPU feature (ARM64_UNMAP_KERNEL_AT_EL0)
that can be used to toggle the alternative sequences in our entry code and
avoid use of the trampoline altogether if desired. This also allows us to
make use of a static key in arm64_kernel_unmapped_at_el0().
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions