Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbi: sbi_domain_context: Check privilege spec version before accessin…
…g S-mode CSRs SCOUNTEREN and SENVCFG may not be supported on certain RISC-V core, so check the existence of these CSRs via privilege spec version to prevent illegal instructions. Signed-off-by: Yu Chien Peter Lin <[email protected]> Signed-off-by: Alvin Chang <[email protected]> Reviewed-by: Anup Patel <[email protected]>
- Loading branch information