Commit bdb3c42b authored by Alexandre Ghiti's avatar Alexandre Ghiti Committed by Anup Patel
Browse files

lib: sbi: Do not clear active_events for cycle/instret when stopping



Those events are enabled by default and should not be reset afterwards
since when using SBI_PMU_CFG_FLAG_SKIP_MATCH, it leads to unaccessible
counters after the first use.

Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: default avatarAtish Patra <atishp@rivosinc.com>
parent e41dbb50
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment