Re: [PATCH v7 07/16] i386: Support modules_per_die in X86CPUTopoInfo

2024-01-11 Thread Zhao Liu
Hi Xiaoyao, On Thu, Jan 11, 2024 at 01:53:53PM +0800, Xiaoyao Li wrote: > > -cores_per_pkg = topo_info.cores_per_die * topo_info.dies_per_pkg; > > +cores_per_pkg = topo_info.cores_per_module * topo_info.modules_per_die > > * > > +topo_info.dies_per_pkg; > > Nit. mayb

Re: [PATCH v7 07/16] i386: Support modules_per_die in X86CPUTopoInfo

2024-01-10 Thread Xiaoyao Li
On 1/8/2024 4:27 PM, Zhao Liu wrote: From: Zhuocheng Ding Support module level in i386 cpu topology structure "X86CPUTopoInfo". Since x86 does not yet support the "clusters" parameter in "-smp", X86CPUTopoInfo.modules_per_die is currently always 1. Therefore, the module level width in APIC ID,

[PATCH v7 07/16] i386: Support modules_per_die in X86CPUTopoInfo

2024-01-08 Thread Zhao Liu
From: Zhuocheng Ding Support module level in i386 cpu topology structure "X86CPUTopoInfo". Since x86 does not yet support the "clusters" parameter in "-smp", X86CPUTopoInfo.modules_per_die is currently always 1. Therefore, the module level width in APIC ID, which can be calculated by "apicid_bit