commit | a40141d31e91145b37ba873c0273c7ca478ed9f7 | [log] [tgz] |
---|---|---|
author | Chris Kay <chris.kay@arm.com> | Tue May 25 12:33:18 2021 +0100 |
committer | Chris Kay <chris.kay@arm.com> | Tue Oct 26 12:14:32 2021 +0100 |
tree | ac803b34b22dc884050862404e467b6014079b3d | |
parent | 925fda42f750bf6f2a8a103cd828de71b0769593 [diff] |
refactor(amu): detect architected counters at runtime This change removes the `AMU_GROUP0_COUNTERS_MASK` and `AMU_GROUP0_MAX_COUNTERS` preprocessor definitions, instead retrieving the number of group 0 counters dynamically through `AMCGCR_EL0.CG0NC`. Change-Id: I70e39c30fbd5df89b214276fac79cc8758a89f72 Signed-off-by: Chris Kay <chris.kay@arm.com>