[PATCH 0/4] Configure Zicbo[m|z] and Svpbmt in menvcfg CSR
Anup Patel
apatel at ventanamicro.com
Tue Mar 29 08:52:14 PDT 2022
Lower privilege modes (S and U) can use Zicbo[m|z] and Svpbmt extensions
only if these extensions are configured/enabled by M-mode firmware hence
this series.
The PATCH2 is adapted from Atish's Sstc series to avoid duplicate work.
These patches can be found in pbmt_cbo_v1 branch at:
https://github.com/avpatel/opensbi.git
Anup Patel (3):
include: Add defines for [m|h|s]envcfg CSRs
lib: sbi: Enable Zicbo[m|z] extensions in the menvcfg CSR
lib: sbi: Enable Svpbmt extension in the menvcfg CSR
Atish Patra (1):
lib: sbi: Detect menvcfg CSR at boot time
include/sbi/riscv_encoding.h | 27 +++++++++++++++++++
include/sbi/sbi_hart.h | 4 ++-
lib/sbi/sbi_hart.c | 52 +++++++++++++++++++++++++++++++++++-
3 files changed, 81 insertions(+), 2 deletions(-)
--
2.25.1
More information about the opensbi
mailing list