aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2024-11-19 11:34:38 -0800
committerAnup Patel <anup@brainfault.org>2024-12-02 09:52:55 +0530
commite4345842168b5725f56a81f1211d08f1a9d6c897 (patch)
tree4f5b99f8d62ced96474aeb0473b609ac74e65de6 /lib/utils/cppc
parent05970d273c609ff43b372f34150fba2855a94426 (diff)
downloadopensbi-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 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions