diff options
author | Atish Patra <atishp@rivosinc.com> | 2024-12-04 16:43:47 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-12-15 14:13:12 +0530 |
commit | 51dbc57fc7f0d6da5e43fac8a49f63fb110d527b (patch) | |
tree | 2636b7caab7af044c9ee2f681a96ea7641af4481 /lib/utils/cppc/fdt_cppc_rpmi.c | |
parent | 0928ca21bcbdcc925e500b99a046e736d9792e5c (diff) | |
download | opensbi-51dbc57fc7f0d6da5e43fac8a49f63fb110d527b.zip opensbi-51dbc57fc7f0d6da5e43fac8a49f63fb110d527b.tar.gz opensbi-51dbc57fc7f0d6da5e43fac8a49f63fb110d527b.tar.bz2 |
lib: sbi_pmu: Verify the raw events first during event info
The raw events have same event_idx. Thus, the event info sanity check
only relies on the select mask. The raw event check should be done first
so that regular hardware events can be verified using event idx range
check.
Fixes: e4345842168b ("lib: sbi_pmu: Implement SBI PMU event info function")
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_rpmi.c')
0 files changed, 0 insertions, 0 deletions