Skip to content

Configure Zicbo[m|z] and Svpbmt in menvcfg CSR

Anup Patel opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4include: Add defines for [m|h|s]envcfg CSRsinclude/sbi/riscv_encoding.h+27 -03 replies
2/4lib: sbi: Detect menvcfg CSR at boot timeinclude/sbi/sbi_hart.h lib/sbi/sbi_hart.c+12 -12 replies
3/4lib: sbi: Enable Zicbo[m|z] extensions in the menvcfg CSRlib/sbi/sbi_hart.c+32 -13 replies
4/4lib: sbi: Enable Svpbmt extension in the menvcfg CSRlib/sbi/sbi_hart.c+10 -03 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAtish PatraXiang W
1/4R-b R-b
2/4R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Configure Zicbo[m|z] and Svpbmt in menvcfg CSR

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(-)
Signature · 1 line
2.25.1