Re: [PATCH v7 013/120] x86/cpu: Use parsed CPUID(0x80000000)
From: Borislav Petkov
Date: Mon Jun 01 2026 - 21:23:04 EST
On Mon, Jun 01, 2026 at 07:34:03PM +0200, Maciej Wieczor-Retman wrote:
> I think at this point in the series 'c' is not initialized if you follow:
>
> microcode_check()
> -> store_cpu_caps()
> -> get_cpu_cap()
How do you mean?
the el0 in get_cpu_cap() uses the already parsed during early boot leaf while
microcode_check() is the late microcode loading path which happens when the
admin sets it in motion.
Or what am I missing?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette