Re: [RFC PATCH V2 0/1] x86: cpu topology fix and question on x86_max_cores

From: Borislav Petkov
Date: Tue Feb 21 2023 - 05:09:26 EST


On Tue, Feb 21, 2023 at 10:00:54AM +0100, Peter Zijlstra wrote:
> We really should have added that CPUID uniformity sanity check a long
> while ago :-(

We're pretty much there:

c0dd9245aa9e ("x86/microcode: Check CPU capabilities after late microcode update correctly")

(in tip currently)

It would need to get extended to do it on each CPU during SMP boot.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette