[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191017162052.GA10221@lst.de>
Date: Thu, 17 Oct 2019 18:20:52 +0200
From: Christoph Hellwig <hch@....de>
To: Paul Walmsley <paul.walmsley@...ive.com>
Cc: Christoph Hellwig <hch@....de>, Palmer Dabbelt <palmer@...ive.com>,
Damien Le Moal <damien.lemoal@....com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Atish Patra <atish.patra@....com>
Subject: Re: [PATCH 08/20] riscv: abstract out CSR names for supervisor vs
machine mode
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.
Powered by blists - more mailing lists