On 07/02/2025 22:26, Deepak Gupta wrote:
Hi Clement,
Thanks for looking at it. Inline On Thu, Feb 06, 2025 at 02:49:09PM +0100, Clément Léger wrote:
On 05/02/2025 02:22, Deepak Gupta wrote:
zicfiss / zicfilp introduces a new exception to priv isa `software check exception` with cause code = 18. This patch implements software check exception.
Hey Deepak,
While not directly related to this patch, is the exception 18 delegation documented in the SBI doc ? I mean, should we specify that it is always delegated when implementing FWFT LANDING_PAD/SHADOW_STACK ?
I don't think it's document in SBI spec anywhere. Should it be ?
That's a good question ! I don't know the process to document that part of the SBI but that would probably be nice to document it anyway I guess. Atish may know what to do with that.
Clément
In code, opensbi delegates the exception (SW_CHECK) https://github.com/riscv-software-src/opensbi/ commit/110524441a827e026db3547ed03c5723b9c9e211
Thanks,
Clément