RE: [RFC PATCH v6 1/4] topology: Represent clusters of CPUs within a die

From
Song Bao Hua (Barry Song) <hidden>
Date
2021-04-30 03:46:15
Also in
linux-acpi, lkml
Reply to
Andrew Jones, 2021-04-28
-----Original Message-----
From: Andrew Jones [mailto:<redacted>]
Sent: Wednesday, April 28, 2021 9:48 PM
To: Song Bao Hua (Barry Song) <redacted>
Cc: <redacted>; bp@alien8.de; bsegall@google.com;
catalin.marinas@arm.com; dietmar.eggemann@arm.com;
gregkh@linuxfoundation.org; guodong.xu@linaro.org; hpa@zytor.com; Jonathan
Cameron [off-list ref]; juri.lelli@redhat.com;
lenb@kernel.org; Liguozhu (Kenneth) [off-list ref];
linux-acpi@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
linux-kernel@vger.kernel.org; linuxarm@openeuler.org; mark.rutland@arm.com;
mgorman@suse.de; mingo@redhat.com; msys.mizuma@gmail.com;
peterz@infradead.org; Zengtao (B) [off-list ref];
rjw@rjwysocki.net; rostedt@goodmis.org; sudeep.holla@arm.com;
tglx@linutronix.de; tim.c.chen@linux.intel.com; valentin.schneider@arm.com;
vincent.guittot@linaro.org; will@kernel.org; x86@kernel.org; xuwei (O)
[off-list ref]; yangyicong [off-list ref]
Subject: Re: [RFC PATCH v6 1/4] topology: Represent clusters of CPUs within
a die

On 20/04/2021 12:18, Barry Song wrote:
...
quoted
Currently the ID provided is the offset of the Processor
Hierarchy Nodes Structure within PPTT.  Whilst this is unique
it is not terribly elegant so alternative suggestions welcome.
The ACPI table offsets are consistent with how other topology IDs are
generated. I once tried to make them a little more human friendly with
[1], but it was nacked.

[1] https://lore.kernel.org/lkml/20180629132934.GA16282@e107155-lin/t/ (local)
Ideally, we are going to check if cluster node has a valid UID,
if yes, read this ID; otherwise, fall back to use offset.

Will move to that way in next version.
Thanks,
drew
Thanks
Barry

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (11 messages) 11 messages, 4 authors, last reply 2021-04-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help