Re: [PATCH v6 13/90] x86/cpu/intel: Rescan CPUID table after leaf unlock
From: Maciej Wieczor-Retman
Date: Wed Apr 15 2026 - 08:40:04 EST
On 2026-03-27 at 03:15:27 +0100, Ahmed S. Darwish wrote:
>Intel CPUs have a "limit CPUID" MSR bit to limit CPUID enumeration only up
>to CPUID(0x2). This can be set by old BIOSen before booting Linux.
BIOSen -> BIOSes?
>If that MSR bit was set, refresh the cached CPUID table after clearing it.
>
>Scan only the newly-found CPUID leaves, not to override any of the kernel's
>previously force-set or unset CPUID bits.
>
>References: 066941bd4eeb ("x86: unmask CPUID levels on Intel CPUs")
>References: 0c2f6d04619e ("x86/topology/intel: Unlock CPUID before evaluating anything")
>Signed-off-by: Ahmed S. Darwish <darwi@xxxxxxxxxxxxx>
--
Kind regards
Maciej Wieczór-Retman