Skip to content
Commit 1e147324 authored by Atish Patra's avatar Atish Patra Committed by Anup Patel
Browse files

lib: sbi: Reset the mhpmevent value upon counter reset



The hardware solely relies on the event selector value in mhpmevent
to figure out what event to monitor using that counter. It should be
reset when counter reset happens.

Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 0c304b66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment