All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Configure Zicbo[m|z] and Svpbmt in menvcfg CSR
@ 2022-03-29 15:52 Anup Patel
  2022-03-29 15:52 ` [PATCH 1/4] include: Add defines for [m|h|s]envcfg CSRs Anup Patel
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Anup Patel @ 2022-03-29 15:52 UTC (permalink / raw)
  To: opensbi

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-04-05  3:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 15:52 [PATCH 0/4] Configure Zicbo[m|z] and Svpbmt in menvcfg CSR Anup Patel
2022-03-29 15:52 ` [PATCH 1/4] include: Add defines for [m|h|s]envcfg CSRs Anup Patel
2022-03-29 23:48   ` Atish Patra
2022-03-30 14:47   ` Xiang W
2022-04-05  3:27   ` Anup Patel
2022-03-29 15:52 ` [PATCH 2/4] lib: sbi: Detect menvcfg CSR at boot time Anup Patel
2022-03-30 14:48   ` Xiang W
2022-04-05  3:27   ` Anup Patel
2022-03-29 15:52 ` [PATCH 3/4] lib: sbi: Enable Zicbo[m|z] extensions in the menvcfg CSR Anup Patel
2022-03-30  0:04   ` Atish Patra
2022-03-30 14:49   ` Xiang W
2022-04-05  3:27   ` Anup Patel
2022-03-29 15:52 ` [PATCH 4/4] lib: sbi: Enable Svpbmt extension " Anup Patel
2022-03-30  0:04   ` Atish Patra
2022-03-30 14:49   ` Xiang W
2022-04-05  3:28   ` Anup Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.