Re: [PATCH v7 013/120] x86/cpu: Use parsed CPUID(0x80000000)

Borislav Petkov <[email protected]> Mon, 1 Jun 2026 18:22:05 -0700
Newsgroups dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel
Message-ID <20260602012205.GEah4wPes4qegK9T9K@fat_crate.local>
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