diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-07-10 09:18:11 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-11 10:23:18 +0530 |
commit | 13d40f21d588e17a31624ed415f114987b6bd3d0 (patch) | |
tree | e54dd0463d90fbbc28b90e56b45a01539a981115 /lib/utils | |
parent | e7cc7a3ab2770b9f40569a84c417afdad59531bc (diff) |
lib: sbi: Add PMU support
RISC-V SBI v0.3 specification defined a PMU extension to configure/start/stop
the hardware/firmware pmu events.
Implement PMU support in OpenSBI library. The implementation is agnostic of
event to counter mapping & mhpmevent value configuration. That means, it
expects platform hooks will be used to set up the mapping and provide
the mhpmevent value at runtime.
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions