lkml.org 
[lkml]   [2022]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] RISC-V: Add cpu-map topology information nodes
On Wed, Jul 06, 2022 at 01:04:24PM +0000, Conor.Dooley@microchip.com 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

\
 
 \ /
  Last update: 2022-07-06 16:03    [W:0.076 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site