Re: [RFC PATCH V2 0/1] x86: cpu topology fix and question on x86_max_cores
From: Thomas Gleixner
Date: Mon Feb 20 2023 - 17:52:15 EST
On Mon, Feb 20 2023 at 20:06, Peter Zijlstra wrote:
> On Mon, Feb 20, 2023 at 02:33:09PM +0000, Zhang, Rui wrote:
> APIC-ID is of no use vs hybrid though, and MADT doesn't include any
> either, so that's all still buggered.
>
> Luckily it looks like MADT is fairly extensible, ideally we add an field
> to entry-type-0 to help with the hybrid mess.
I don't think that's the right way. This should use PPTT because that's
a proper hierarchy model. Extending MADT is just another duct tape
solution.
And it actually does not matter which way we go because none of the
existing systems have any of that.
Thanks,
tglx