summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2020-05-28 18:19:29 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-06-15 15:09:50 +0300
commitf01719730bbe04b90ae60c7e9d2b6d3533308502 (patch)
treece4a492b4a9cf7963cfe13175ed83a66d5c5ca16 /tools/perf
parent1b94d31de422399421422af0e63c9685e7485901 (diff)
downloadlinux-f01719730bbe04b90ae60c7e9d2b6d3533308502.tar.xz
perf/x86/intel/uncore: Validate MMIO address before accessing
An oops will be triggered, if perf tries to access an invalid address which exceeds the mapped area. Check the address before the actual access to MMIO sapce of an uncore unit. Suggested-by: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/1590679169-61823-3-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions