[PATCH v2 0/8] Reset more security-related CSRs

Radim Krčmář rkrcmar at ventanamicro.com
Tue Apr 29 07:25:42 PDT 2025


Hello,

all patches are marked as reviewed by Anup after implementing his
suggestions.

v2: [1/8] Remove redundant newline. [Anup]
    [7/8] Improve comments. [Anup]
    [8/8] Remove pointless Smstateen check. [Anup]
    [1-8/8] Add Reviewed-by [Anup]
v1: https://lore.kernel.org/opensbi/20250415131908.2699782-2-rkrcmar@ventanamicro.com/

Radim Krčmář (8):
  lib: sbi: add 64 bit csr macros
  lib: sbi: use 64 bit csr macros
  lib: sbi_hart: reset hstatus
  lib: sbi_hart: reset sstateen and hstateen
  lib: sbi_hart: fix sstateen emulation
  lib: sbi_hart: reset mstateen0
  lib: sbi_hart: add Ssstateen extension
  lib: sbi_hart: properly reset Ssstateen

 include/sbi/riscv_asm.h | 20 ++++++++++++++++++
 include/sbi/sbi_hart.h  |  4 +++-
 lib/sbi/sbi_hart.c      | 45 ++++++++++++++++++++++++++---------------
 lib/sbi/sbi_timer.c     |  7 +------
 4 files changed, 53 insertions(+), 23 deletions(-)

-- 
2.48.1




More information about the opensbi mailing list