Thread (39 messages) 39 messages, 5 authors, 2026-01-15

Re: [PATCH v9 14/26] riscv/traps: Introduce software check exception

From: Clément Léger <hidden>
Date: 2025-02-10 07:42:41
Also in: linux-devicetree, linux-doc, linux-fsdevel, linux-kselftest, linux-mm, linux-riscv, lkml


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:
quoted

On 05/02/2025 02:22, Deepak Gupta wrote:
quoted
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
quoted
Thanks,

Clément
quoted
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help