Commit d32b0a92 authored by Nikita Shubin's avatar Nikita Shubin Committed by Anup Patel
Browse files

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: default avatarZhang Xin <zhangxin.xa@gmail.com>
Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 5019fd12
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment