summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2021-11-08 10:53:01 -0800
committerAnup Patel <[email protected]>2021-11-11 17:47:52 +0530
commit2363f950bcc497d8bd42654d32d05522fd24b9d7 (patch)
treef85660fbd4a4c6ed04cb93a70b7fbc889641da84 /scripts
parent730f01bb41a603cf03d2cfd9c27317389962ffee (diff)
lib: sbi: Always enable access for all counters
OpenSBI doesn't use any counters for its own usage. Thus, all the counters can be made accessible for lower privilege mode always. However, the mcountinhibit must be set so that the counter doesn't increment. As a result, we don't have to enable/disable mcounteren at every start/stop. Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Atish Patra <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions