diff options
| author | Atish Patra <[email protected]> | 2021-11-08 10:53:01 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-11-11 17:47:52 +0530 |
| commit | 2363f950bcc497d8bd42654d32d05522fd24b9d7 (patch) | |
| tree | f85660fbd4a4c6ed04cb93a70b7fbc889641da84 /scripts | |
| parent | 730f01bb41a603cf03d2cfd9c27317389962ffee (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
