aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2018-02-14 17:21:57 +0000
committerWill Deacon <[email protected]>2018-02-20 11:34:54 +0000
commit0331365edb1d6ccd6ae68b1038111da85d4c68d1 (patch)
treec90b08996ecc564dd13ab08cb3e92616cc69150b /tools/perf/scripts/python/stat-cpi.py
parent167e61438da0664cab87c825a6c0cb83510d578e (diff)
arm64: perf: correct PMUVer probing
The ID_AA64DFR0_EL1.PMUVer field doesn't follow the usual ID registers scheme. While value 0xf indicates a non-architected PMU is implemented, values 0x1 to 0xe indicate an increasingly featureful architected PMU, as if the field were unsigned. For more details, see ARM DDI 0487C.a, D10.1.4, "Alternative ID scheme used for the Performance Monitors Extension version". Currently, we treat the field as signed, and erroneously bail out for values 0x8 to 0xe. Let's correct that. Signed-off-by: Mark Rutland <[email protected]> Reviewed-by: Robin Murphy <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions