docs: pmu: fix Unmatched example typo
authorNikita Shubin <n.shubin@yadro.com>
Fri, 2 Sep 2022 07:41:03 +0000 (10:41 +0300)
committerAnup Patel <anup@brainfault.org>
Tue, 13 Sep 2022 11:12:03 +0000 (16:42 +0530)
commitd32b0a92dbba0f96d5e6c930e24e8e60f3baf7b4
tree2666fb4e4de4a18908acaa18e948093a9cc42b7b
parent5019fd124b4c46e1581129c5154fc2cdd3b777ed
docs: pmu: fix Unmatched example typo

bitmap for MHPMCOUNTERx should be 0x18 and not 0x0c, we check
against SBI_PMU_FIXED_CTR_MASK which assumes than first 3 bits are
dedicated to mcycle, mtime and minstret, u74 has 2 hardware counters.

Reported-by: Zhang Xin <zhangxin.xa@gmail.com>
Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
docs/pmu_support.md