diff options
author | Atish Patra <atishp@rivosinc.com> | 2024-11-19 11:34:38 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-12-02 09:52:55 +0530 |
commit | e4345842168b5725f56a81f1211d08f1a9d6c897 (patch) | |
tree | 4f5b99f8d62ced96474aeb0473b609ac74e65de6 /platform/generic/platform.c | |
parent | 05970d273c609ff43b372f34150fba2855a94426 (diff) | |
download | opensbi-e4345842168b5725f56a81f1211d08f1a9d6c897.zip opensbi-e4345842168b5725f56a81f1211d08f1a9d6c897.tar.gz opensbi-e4345842168b5725f56a81f1211d08f1a9d6c897.tar.bz2 |
lib: sbi_pmu: Implement SBI PMU event info function
Allow the supervisor software to query about the event using the
new function. This supports both firmware and hardware events.
The hardware event presence is verified hw_event_map which is populated
via PMU device tree node. The firmware event presence is checked through
event validation function which should take care of both standard and
platform firmware events.
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions