diff options
| author | Atish Patra <[email protected]> | 2023-12-07 14:23:50 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-12-08 22:50:23 +0530 |
| commit | 11a0ba5d4bce74b2573091c5533717c2871191f1 (patch) | |
| tree | 263754bc57d322303f8cfc46fb839641e2f086e8 /README.md | |
| parent | ee725174bada254f8a081937d870feb837618d6e (diff) | |
lib: sbi_pmu: Fix the counter info function
The counter info should only return valid hardware counters for the ones
set in the counter mask. Otherwise, it will report incorrect number of
hardware counters to the supervisor if the platform has discontiguous
counters.
Fixes: c744ed77b18c ("lib: sbi_pmu: Enable noncontigous hpm event and counters")
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
