Skip to content

Commit

Permalink
docs: pmu: Update the pmu doc with removal of mcountinhbit restriction
Browse files Browse the repository at this point in the history
Since commit b28f070, it is possible for platforms to run perf monitoring
even if mcountinhibit is not supported. Sampling still won't be possible
though as it requires sscofpmf extension.

Update the docs to remove the restriction.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
  • Loading branch information
atishp04 authored and avpatel committed Dec 24, 2022
1 parent 0412460 commit d5d12a9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/pmu_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ capability of performance analysis tools such as perf if SBI PMU extension is
enabled. The OpenSBI implementation makes the following assumptions about the
hardware platform.

* MCOUNTINHIBIT CSR must be implemented in the hardware. Otherwise, SBI PMU
extension will not be enabled.

* The platform must provide information about PMU event to counter mapping
via device tree or platform specific hooks. Otherwise, SBI PMU extension will
not be enabled.
Expand Down

0 comments on commit d5d12a9

Please sign in to comment.