Re: [Patch v2 2/2] x86/tsc: use logical_packages as a better estimation of socket numbers

From: Peter Zijlstra
Date: Fri Jun 16 2023 - 05:43:51 EST


On Fri, Jun 16, 2023 at 09:19:18AM +0000, Zhang, Rui wrote:

> According to the MADT, there are indeed 40 valid CPUs. And then 80 CPUs
> with
>
> APIC ID : FF
> enabled : 0
> Online capable : 0
>
> a dumb question, why are these CPUs added into the possible_mask?
> I can dig into this later but I just don't have a quick answer at the
> moment.

I really don't know.. I've not gotten around to reading that part of the
x86 code yet.