Re: [PATCH 0/5] RISC-V: Add cpu-map topology information nodes

From: Sudeep Holla
Date: Wed Jul 06 2022 - 10:01:43 EST


On Wed, Jul 06, 2022 at 01:04:24PM +0000, Conor.Dooley@xxxxxxxxxxxxx wrote:
> On 06/07/2022 10:21, Sudeep Holla wrote:

[...]

> > Looks good. Again package id is not cluster. This is what my series is
> > addressing. So update the log as Package instead of Cluster above. The
> > cluster id will be -1 unless you can get that for DT.
> >
>
> FYI I took that directly from arm64:
> arch/arm64/kernel/topology.c:L57 (next-20220706)
>
> pr_debug("CPU%u: cluster %d core %d thread %d mpidr %#016llx\n",
> cpuid, cpuid_topo->package_id, cpuid_topo->core_id,
> cpuid_topo->thread_id, mpidr);
>

Yikes, that needs to change. I will get that updates. Thanks for pointing
that out.

--
Regards,
Sudeep