summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2024-12-04 16:43:47 -0800
committerAnup Patel <[email protected]>2024-12-15 14:13:12 +0530
commit51dbc57fc7f0d6da5e43fac8a49f63fb110d527b (patch)
tree2636b7caab7af044c9ee2f681a96ea7641af4481 /lib/utils
parent0928ca21bcbdcc925e500b99a046e736d9792e5c (diff)
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions