From: Deepak Gupta <debug@rivosinc.com>
To: opensbi@lists.infradead.org
Subject: [PATCH v6 0/4] zicfilp and zicfiss support in opensbi
Date: Mon, 16 Sep 2024 11:23:53 -0700 [thread overview]
Message-ID: <20240916182357.24545-1-debug@rivosinc.com> (raw)
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(-)
--
2.45.0
next reply other threads:[~2024-09-16 18:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-16 18:23 Deepak Gupta [this message]
2024-09-16 18:23 ` [PATCH v6 1/4] include: adding support for Zicfilp / Zicfiss encodings Deepak Gupta
2024-09-16 18:23 ` [PATCH v6 2/4] lib: sbi: add zicfilp/zicfiss and elp cfi state reflect back in status Deepak Gupta
2024-09-16 18:23 ` [PATCH v6 3/4] lib: sbi: sw check exception delegation Deepak Gupta
2024-09-16 18:23 ` [PATCH v6 4/4] lib: sbi: fwft: implement landing pad and shadow stack fwft interface Deepak Gupta
2024-09-23 13:37 ` [PATCH v6 0/4] zicfilp and zicfiss support in opensbi Anup Patel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240916182357.24545-1-debug@rivosinc.com \
--to=debug@rivosinc.com \
--cc=opensbi@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox