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 >> >>>
- [PATCH v9 06/26] riscv/mm : ensure PROT_WRITE leads to VM_... Deepak Gupta
- [PATCH v9 08/26] riscv mmu: teach pte_mkwrite to manufactu... Deepak Gupta
- [PATCH v9 07/26] riscv mm: manufacture shadow stack pte Deepak Gupta
- [PATCH v9 10/26] riscv/mm: Implement map_shadow_stack() sy... Deepak Gupta
- [PATCH v9 09/26] riscv mmu: write protect and shadow stack Deepak Gupta
- [PATCH v9 12/26] riscv: Implements arch agnostic shadow st... Deepak Gupta
- [PATCH v9 15/26] riscv: signal: abstract header saving for... Deepak Gupta
- [PATCH v9 14/26] riscv/traps: Introduce software check exc... Deepak Gupta
- Re: [PATCH v9 14/26] riscv/traps: Introduce software ... Clément Léger
- Re: [PATCH v9 14/26] riscv/traps: Introduce softw... Deepak Gupta
- Re: [PATCH v9 14/26] riscv/traps: Introduce s... Clément Léger
- [PATCH v9 16/26] riscv/signal: save and restore of shadow ... Deepak Gupta
- [PATCH v9 17/26] riscv/kernel: update __show_regs to print... Deepak Gupta
- [PATCH v9 18/26] riscv/ptrace: riscv cfi status and state ... Deepak Gupta
- [PATCH v9 19/26] riscv/hwprobe: zicfilp / zicfiss enumerat... Deepak Gupta
- [PATCH v9 22/26] riscv: kernel command line option to opt ... Deepak Gupta
- [PATCH v9 24/26] riscv: Documentation for landing pad / in... Deepak Gupta
- [PATCH v9 23/26] riscv: create a config for shadow stack a... Deepak Gupta
- [PATCH v9 21/26] riscv: enable kernel access to shadow sta... Deepak Gupta
- [PATCH v9 25/26] riscv: Documentation for shadow stack on ... Deepak Gupta
- [PATCH v9 26/26] kselftest/riscv: kselftest for user mode ... Deepak Gupta