diff options
author | Pawel Moll <[email protected]> | 2016-08-05 15:07:10 +0100 |
---|---|---|
committer | Pawel Moll <[email protected]> | 2016-08-17 10:48:58 +0100 |
commit | b7c1beb278e8e3dc664ed3df3fc786db126120a9 (patch) | |
tree | 4320aa67ee70f4962faee893d006e7487f33c81d /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 4e486cba285ff06a1f28f0fc2991dde1482d1dcf (diff) |
bus: arm-ccn: Do not attempt to configure XPs for cycle counter
Fuzzing the CCN perf driver revealed a small but definitely dangerous
mistake in the event setup code. When a cycle counter is requested, the
driver should not reconfigure the events bus at all, otherwise it will
corrupt (in most but the simplest cases) its configuration and may end
up accessing XP array out of its bounds and corrupting control
registers.
Reported-by: Mark Rutland <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Cc: [email protected] # 3.17+
Signed-off-by: Pawel Moll <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions