commit | 81e2ff1f364fdf18e086f690eb3715bc89307592 | [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 | 1fd685a74dd33c9c26a0ec0e82e7a5a378461362 [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>