lkml.org 
[lkml]   [2020]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3] riscv: make sure the cores stay looping in .Lsecondary_park
On Wed, Jan 15, 2020 at 6:55 AM Paul Walmsley <paul.walmsley@sifive.com> wrote:
>
> Hi Greentime,
>
> On Tue, 14 Jan 2020, Greentime Hu wrote:
>
> > I think it is because the sections are too far for bqeu to jump and
> > the config I used just small enough for it to jump so I didn't see
> > this bug. Sorry about that.
>
> No problem.
>
> > I tried this fix to boot in Unleashed board.
> >
> > #ifdef CONFIG_SMP
> > li t0, CONFIG_NR_CPUS
> > - bgeu a0, t0, .Lsecondary_park
> > + blt a0, t0, .Lgood_cores
> > + tail .Lsecondary_park
> > +.Lgood_cores:
> > #endif
>
> Looks reasonable to me. Care to update and repost the patch?

Yes, Paul. I have sent the v4 patch.
It is tested in Unleashed board.

\
 
 \ /
  Last update: 2020-01-15 08:07    [W:0.058 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site