[RFC PATCH v6 1/4] topology: Represent clusters of CPUs within a die
Song Bao Hua (Barry Song)
song.bao.hua at hisilicon.com
Fri Apr 30 04:46:04 BST 2021
> -----Original Message-----
> From: Andrew Jones [mailto:drjones at redhat.com]
> Sent: Wednesday, April 28, 2021 9:48 PM
> To: Song Bao Hua (Barry Song) <song.bao.hua at hisilicon.com>
> Cc: aubrey.li at linux.intel.com; bp at alien8.de; bsegall at google.com;
> catalin.marinas at arm.com; dietmar.eggemann at arm.com;
> gregkh at linuxfoundation.org; guodong.xu at linaro.org; hpa at zytor.com; Jonathan
> Cameron <jonathan.cameron at huawei.com>; juri.lelli at redhat.com;
> lenb at kernel.org; Liguozhu (Kenneth) <liguozhu at hisilicon.com>;
> linux-acpi at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
> linux-kernel at vger.kernel.org; linuxarm at openeuler.org; mark.rutland at arm.com;
> mgorman at suse.de; mingo at redhat.com; msys.mizuma at gmail.com;
> peterz at infradead.org; Zengtao (B) <prime.zeng at hisilicon.com>;
> rjw at rjwysocki.net; rostedt at goodmis.org; sudeep.holla at arm.com;
> tglx at linutronix.de; tim.c.chen at linux.intel.com; valentin.schneider at arm.com;
> vincent.guittot at linaro.org; will at kernel.org; x86 at kernel.org; xuwei (O)
> <xuwei5 at huawei.com>; yangyicong <yangyicong at huawei.com>
> Subject: Re: [RFC PATCH v6 1/4] topology: Represent clusters of CPUs within
> a die
>
> On 20/04/2021 12:18, Barry Song wrote:
> ...
> > 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/
>
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
More information about the linux-arm-kernel
mailing list