Searched hist:"59902 b7c4ca2413c2ee783da1bc66789e35868e5" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/include/lib/extensions/ |
| H A D | amu.h | 59902b7c4ca2413c2ee783da1bc66789e35868e5 Wed Dec 13 10:54:37 UTC 2017 Dimitris Papastamos <dimitris.papastamos@arm.com> AMU: Add plat interface to select which group 1 counters to enable
A new platform macro `PLAT_AMU_GROUP1_COUNTERS_MASK` controls which group 1 counters should be enabled. The maximum number of group 1 counters supported by AMUv1 is 16 so the mask can be at most 0xffff. If the platform does not define this mask, no group 1 counters are enabled.
A related platform macro `PLAT_AMU_GROUP1_NR_COUNTERS` is used by generic code to allocate an array to save and restore the counters on CPU suspend.
Change-Id: I6d135badf4846292de931a43bb563077f42bb47b Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
|
| /rk3399_ARM-atf/lib/extensions/amu/aarch64/ |
| H A D | amu.c | 59902b7c4ca2413c2ee783da1bc66789e35868e5 Wed Dec 13 10:54:37 UTC 2017 Dimitris Papastamos <dimitris.papastamos@arm.com> AMU: Add plat interface to select which group 1 counters to enable
A new platform macro `PLAT_AMU_GROUP1_COUNTERS_MASK` controls which group 1 counters should be enabled. The maximum number of group 1 counters supported by AMUv1 is 16 so the mask can be at most 0xffff. If the platform does not define this mask, no group 1 counters are enabled.
A related platform macro `PLAT_AMU_GROUP1_NR_COUNTERS` is used by generic code to allocate an array to save and restore the counters on CPU suspend.
Change-Id: I6d135badf4846292de931a43bb563077f42bb47b Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
|
| /rk3399_ARM-atf/docs/ |
| H A D | porting-guide.rst | 59902b7c4ca2413c2ee783da1bc66789e35868e5 Wed Dec 13 10:54:37 UTC 2017 Dimitris Papastamos <dimitris.papastamos@arm.com> AMU: Add plat interface to select which group 1 counters to enable
A new platform macro `PLAT_AMU_GROUP1_COUNTERS_MASK` controls which group 1 counters should be enabled. The maximum number of group 1 counters supported by AMUv1 is 16 so the mask can be at most 0xffff. If the platform does not define this mask, no group 1 counters are enabled.
A related platform macro `PLAT_AMU_GROUP1_NR_COUNTERS` is used by generic code to allocate an array to save and restore the counters on CPU suspend.
Change-Id: I6d135badf4846292de931a43bb563077f42bb47b Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
|