Skip to content

zicfilp and zicfiss support in opensbi

Deepak Gupta opensbi 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 0 repliesNew
  2. v54 patches 0 repliesSuperseded
  3. v44 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches0 repliesSuperseded
v23 patches0 repliesSuperseded
v13 patches0 repliesSuperseded

Changes in v6 from the cover letter

- sorted fwft addition of shadow stack and landing pad
- revised comment, spacing and cosmetic changes.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4include: adding support for Zicfilp / Zicfiss encodingsinclude/sbi/riscv_encoding.h+7 -00 replies
2/4lib: sbi: add zicfilp/zicfiss and elp cfi state reflect back in statusinclude/sbi/sbi_hart.h lib/sbi/sbi_hart.c lib/sbi/sbi_trap.c+26 -00 replies
3/4lib: sbi: sw check exception delegationlib/sbi/sbi_hart.c+2 -10 replies
4/4lib: sbi: fwft: implement landing pad and shadow stack fwft interfacelib/sbi/sbi_fwft.c+74 -00 replies

Reviews trailers per patch

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

PatchAtish PatraSamuel HollandCl?ment L?ger
1/4R-b R-b
2/4R-b R-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. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/4] zicfilp and zicfiss support in opensbi

v6 for zicfilp and zicfiss support in opensbi

---
v6:
- sorted fwft addition of shadow stack and landing pad
- revised comment, spacing and cosmetic changes.

v5:
- OpenSBI parses ISA string which is recieved in FDT and if ISA string matches, it sets extension availablity in extension bitmap. Thus removed zicfilp and zicfiss trap based and mstatus detection
v4:
- fixed up commit message in patch 2
v3:
- added fwft implementation for shadow stack and landing pad interface
v2:
- added mpelp for 32bit (mstatush) and its handling in trad redirection
- removed default SSE enabling. it'll break shadow stack enabled kernel
- put sw check delegation at correct place

Deepak Gupta (4):
include: adding support for Zicfilp / Zicfiss encodings
lib: sbi: add zicfilp/zicfiss and elp cfi state reflect back in status
lib: sbi: sw check exception delegation
lib: sbi: fwft: implement landing pad and shadow stack fwft interface

 include/sbi/riscv_encoding.h |  7 ++++
 include/sbi/sbi_hart.h       |  4 ++
 lib/sbi/sbi_fwft.c           | 74 ++++++++++++++++++++++++++++++++++++
 lib/sbi/sbi_hart.c           |  5 ++-
 lib/sbi/sbi_trap.c           | 20 ++++++++++
 5 files changed, 109 insertions(+), 1 deletion(-)
Signature · 1 line
2.45.0