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
On Tue, 3 Sep 2019, Christoph Hellwig wrote:
> Many of the privileged CSRs exist in a supervisor and machine version
> that are used very similarly. Provide a new X-naming layer so that
> we don't have to ifdef everywhere for M-mode Linux support.
>
> Contains contributions from Damien Le Moal .
Many of the privileged CSRs exist in a supervisor and machine version
that are used very similarly. Provide a new X-naming layer so that
we don't have to ifdef everywhere for M-mode Linux support.
Contains contributions from Damien Le Moal .
Signed-off-by: Christoph Hellwig
Reviewed-by: Atish P
3 matches
Mail list logo