MPIE and MPP update when returning from interrupt with MRET


Anne MERLANDE
 

Hello

The privileged architecture says that when returning from interrupt with MRET, MPIE is set to 1 (and MPP is set to U).
What is the rational behind ? Is it still in the context of supporting nested traps ? In case of an implementation with 2 privileged modes but no N extension is it still necessary ?

Thanks for your help
Anne

Join tech-privileged@lists.riscv.org to automatically receive all group messages.