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

lib: sbi: Allow programmable counters to monitor cycle/instret events



A platform may use programmable counters for cycle/instret events.
The priv spec allows that provided that cycle/instret also report those
events in addition to the programmable counters. We should allow that
functionality in OpenSBI.

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 2363f950
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