summaryrefslogtreecommitdiff
path: root/lib/utils/ipi
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2023-08-15 17:40:31 +0800
committerAnup Patel <[email protected]>2023-09-10 11:04:57 +0530
commit664692f507a8b3a173256e1231dc1aed00eaf249 (patch)
treedb2efee964d66911c731861ca2bd6d43dbbc8b01 /lib/utils/ipi
parentb20bd479eff1588bfea52cceda213c40cc273ba9 (diff)
lib: sbi_pmu: ensure update hpm counter before starting counting
When detecting features of PMU, the hpm counter may be written to some value, this will cause some unexpected behavior in some cases. So ensure the hpm counter is updated before starting the counter and the related interrupt. Signed-off-by: Haijiao Liu <[email protected]> Co-authored-by: Inochi Amaoto <[email protected]> Signed-off-by: Inochi Amaoto <[email protected]> Reviewed-by: Anup Patel <[email protected]> Tested-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils/ipi')
0 files changed, 0 insertions, 0 deletions