[PATCH v3 2/4] lib: sbi: Zicfilp/Zicfiss detection and elp cfi state reflect back in status

Deepak Gupta debug at rivosinc.com
Thu Aug 22 11:14:10 PDT 2024


On Thu, Aug 22, 2024 at 10:48:26AM -0700, Deepak Gupta wrote:
>This patch adds support for zicfilp / zicfiss detection in sbi_hart.c
>If zicfilp and zicfiss are detected, this patch turns on menvcfg.LPE and
>menvcfg.SSE

Note to self.
Comment needs fixup. Turn on of LPE and SSE is via FWFT

>
>Zicfilp records status of hart's ELP state in *status csr. Missing landing pad
>sets MPELP in mstatus. When SBI is redirecting back to S/VS/HS, SPELP is
>set in sstatus/vsstatus.
>
>Signed-off-by: Deepak Gupta <debug at rivosinc.com>
>---



More information about the opensbi mailing list