Re: [PATCH v5 08/35] x86/cpuid: Introduce a centralized CPUID parser
From: Ahmed S. Darwish
Date: Mon Jan 26 2026 - 08:15:43 EST
On Wed, 21 Jan 2026, Borislav Petkov wrote:
>
> On Fri, Sep 05, 2025 at 02:14:48PM +0200, Ahmed S. Darwish wrote:
> > diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
> > index 34a054181c4d..43582d7e167d 100644
> > --- a/arch/x86/kernel/cpu/common.c
> > +++ b/arch/x86/kernel/cpu/common.c
> > @@ -1729,6 +1729,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
> >
> > /* cyrix could have cpuid enabled via c_identify()*/
> > if (cpuid_feature()) {
> > + cpuid_parser_scan_cpu(c);
>
> Or simply
>
> cpu_parse_cpuid()
>
> :-)
>
> Plain and simple.
Haha, ACK.
I'll just shuffle that to cpuid_parse_cpu(), to keep the now-standardized
cpuid prefix for all CPUID APIs:
https://lore.kernel.org/lkml/20250508150240.172915-1-darwi@xxxxxxxxxxxxx
https://lore.kernel.org/lkml/20250515202143.34448-1-darwi@xxxxxxxxxxxxx
Thanks!
Ahmed