[PATCH v1 0/5] Add SBI FWFT extension support

Clément Léger cleger at rivosinc.com
Tue May 21 06:58:28 PDT 2024


This series adds support for SBI FWFT extension. SVADU ISA extension is
added in order to add support for FWFT SBI_FWFT_PTE_AD_HW_UPDATING
feature.

FWFT extension is not yet ratified but will be present in SBI V3.0 [1]

Link: https://lists.riscv.org/g/tech-prs/message/924 [1]

---

Clément Léger (5):
  lib: sbi: Add SVADU extension support
  lib: sbi: add support for firmware features extension
  lib: sbi: fwft: add support for SBI_FWFT_MISALIGNED_EXC_DELEG
  lib: sbi: fwft: add support for SBI_FWFT_PTE_AD_HW_UPDATING
  lib: sbi: implement SBI FWFT extension

 include/sbi/riscv_encoding.h      |   1 +
 include/sbi/sbi_ecall_interface.h |  28 +++
 include/sbi/sbi_fwft.h            |  23 +++
 include/sbi/sbi_hart.h            |   2 +
 lib/sbi/Kconfig                   |   4 +
 lib/sbi/objects.mk                |   4 +
 lib/sbi/sbi_ecall_fwft.c          |  49 ++++++
 lib/sbi/sbi_fwft.c                | 272 ++++++++++++++++++++++++++++++
 lib/sbi/sbi_hart.c                |   9 +
 lib/sbi/sbi_hsm.c                 |  15 ++
 lib/sbi/sbi_init.c                |  11 ++
 11 files changed, 418 insertions(+)
 create mode 100644 include/sbi/sbi_fwft.h
 create mode 100644 lib/sbi/sbi_ecall_fwft.c
 create mode 100644 lib/sbi/sbi_fwft.c

-- 
2.43.0




More information about the opensbi mailing list