aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2020-05-12 11:39:50 +0000
committerWill Deacon <[email protected]>2020-05-12 17:45:17 +0000
commite4e9f6dfeedc86afef2c3fa4102d274862fe2cf9 (patch)
tree8e36a28fbfb4f94a42f32168baedf6f3bf117361 /tools/perf/scripts/python/event_analyzing_sample.py
parentarm64: kconfig: Update and comment GCC version check for kernel BTI (diff)
downloadkernel-e4e9f6dfeedc86afef2c3fa4102d274862fe2cf9.tar.gz
kernel-e4e9f6dfeedc86afef2c3fa4102d274862fe2cf9.zip
arm64: bti: Fix support for userspace only BTI
When setting PTE_MAYBE_GP we check system_supports_bti() but this is true for systems where only CONFIG_BTI is set causing us to enable BTI on some kernel text. Add an extra check for the kernel mode option, using an ifdef due to line length. Fixes: c8027285e366 ("arm64: Set GP bit in kernel page tables to enable BTI for the kernel") Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions