SR_SPP 61 arch/riscv/include/asm/ptrace.h #define user_mode(regs) (((regs)->sstatus & SR_SPP) == 0) SR_SPP 113 arch/riscv/kernel/process.c childregs->sstatus = SR_SPP | SR_SPIE; /* Supervisor, irqs on */