aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2018-04-23 11:41:33 +0100
committerWill Deacon <[email protected]>2018-04-23 17:27:20 +0100
commit71c751f2a43fa03fae3cf5f0067ed3001a397013 (patch)
tree995bc77185edac2f6fd7cc5e00fcdae4eb99859e /tools/perf/scripts/python/event_analyzing_sample.py
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff)
arm64: add sentinel to kpti_safe_list
We're missing a sentinel entry in kpti_safe_list. Thus is_midr_in_range_list() can walk past the end of kpti_safe_list. Depending on the contents of memory, this could erroneously match a CPU's MIDR, cause a data abort, or other bad outcomes. Add the sentinel entry to avoid this. Fixes: be5b299830c63ed7 ("arm64: capabilities: Add support for checks based on a list of MIDRs") Signed-off-by: Mark Rutland <[email protected]> Reported-by: Jan Kiszka <[email protected]> Tested-by: Jan Kiszka <[email protected]> Reviewed-by: Suzuki K Poulose <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Suzuki K Poulose <[email protected]> Cc: Will Deacon <[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