Re: [PATCH 08/20] riscv: abstract out CSR names for supervisor vs machine mode

From: Christoph Hellwig
Date: Thu Oct 17 2019 - 12:20:56 EST


On Tue, Oct 15, 2019 at 07:07:17PM -0700, Paul Walmsley wrote:
> > void start_thread(struct pt_regs *regs, unsigned long pc,
> > unsigned long sp)
> > {
> > - regs->sstatus = SR_SPIE;
> > + regs->xstatus = SR_SPIE;
>
> Looks like this should be "regs->xstatus = SR_PIE;"
>
> Will update it here. Let me know if you don't agree -

there is no SR_PIE, do you mean SR_XPÐE? Good catch in that case,
but please let me resend the whole thing. I have some minor updates,
and I'd also like to do the rebase myself.