[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.9999.2001141449500.21279@viisi.sifive.com>
Date: Tue, 14 Jan 2020 14:55:12 -0800 (PST)
From: Paul Walmsley <paul.walmsley@...ive.com>
To: Greentime Hu <greentime.hu@...ive.com>
cc: Gt <green.hu@...il.com>, greentime@...nel.org,
Palmer Dabbelt <palmer@...belt.com>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andreas Schwab <schwab@...e.de>,
Anup Patel <anup@...infault.org>
Subject: Re: [PATCH v3] riscv: make sure the cores stay looping in
.Lsecondary_park
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?
- Paul
Powered by blists - more mailing lists