summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-07-10 10:58:04 +0200
committerWill Deacon <will.deacon@arm.com>2018-07-10 19:19:30 +0200
commitc13207905340d85eaddd85b6d2868218f324b180 (patch)
treef633d2f33266ba3a7ac672c1d822b6733f490a90 /include/media
parentarm64: perf: Disable PMU while processing counter overflows (diff)
downloadlinux-c13207905340d85eaddd85b6d2868218f324b180.tar.xz
linux-c13207905340d85eaddd85b6d2868218f324b180.zip
arm64: perf: Add support for chaining event counters
Add support for 64bit event by using chained event counters and 64bit cycle counters. PMUv3 allows chaining a pair of adjacent 32-bit counters, effectively forming a 64-bit counter. The low/even counter is programmed to count the event of interest, and the high/odd counter is programmed to count the CHAIN event, taken when the low/even counter overflows. For CPU cycles, when 64bit mode is requested, the cycle counter is used in 64bit mode. If the cycle counter is not available, falls back to chaining. Cc: Will Deacon <will.deacon@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions