Hi Lukas
> > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de]
> > Sent: Thursday, August 08, 2019 10:04 PM
> > To: bmeng...@gmail.com
> > Cc: Rick Jian-Zhi Chen(陳建志); u-boot@lists.denx.de
> > Subject: Re: [PATCH] riscv: cpu: Skip unavailable hart in the get_count() op
> >
> > Hi Bin,
> >
Hi Lukas,
On Thu, Aug 8, 2019 at 10:03 PM Auer, Lukas
wrote:
>
> Hi Bin,
>
> On Thu, 2019-08-08 at 21:25 +0800, Bin Meng wrote:
> > Hi Lukas,
> >
> > On Thu, Aug 8, 2019 at 7:22 PM Auer, Lukas
> > wrote:
> > > Hi Bin,
> > >
> > > On Thu, 2019-08-08 at 00:52 -0700, Bin Meng wrote:
> > > > We shou
Hi Bin,
On Thu, 2019-08-08 at 21:25 +0800, Bin Meng wrote:
> Hi Lukas,
>
> On Thu, Aug 8, 2019 at 7:22 PM Auer, Lukas
> wrote:
> > Hi Bin,
> >
> > On Thu, 2019-08-08 at 00:52 -0700, Bin Meng wrote:
> > > We should not count in hart that is marked as not available in the
> > > device tree in ris
Hi Lukas,
On Thu, Aug 8, 2019 at 7:22 PM Auer, Lukas
wrote:
>
> Hi Bin,
>
> On Thu, 2019-08-08 at 00:52 -0700, Bin Meng wrote:
> > We should not count in hart that is marked as not available in the
> > device tree in riscv_cpu_get_count().
> >
>
> I think it might make sense to also exclude harts
Hi Bin,
On Thu, 2019-08-08 at 00:52 -0700, Bin Meng wrote:
> We should not count in hart that is marked as not available in the
> device tree in riscv_cpu_get_count().
>
I think it might make sense to also exclude harts that are not listed
as available in the available_harts mask. So the same lo
> > From: Bin Meng [mailto:bmeng...@gmail.com]
> > Sent: Thursday, August 08, 2019 3:52 PM
> > To: Lukas Auer; Rick Jian-Zhi Chen(陳建志); U-Boot Mailing List
> > Subject: [PATCH] riscv: cpu: Skip unavailable hart in the get_count() op
> >
> > We should not count in hart that is marked as not availabl
We should not count in hart that is marked as not available in the
device tree in riscv_cpu_get_count().
Signed-off-by: Bin Meng
---
drivers/cpu/riscv_cpu.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/cpu/riscv_cpu.c b/drivers/cpu/riscv_cpu.c
index f77c126..28ad0aa 100644
--
7 matches
Mail list logo