lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXdopscvpd1_wnEx@lx-t490>
Date: Mon, 26 Jan 2026 14:14:14 +0100
From: "Ahmed S. Darwish" <darwi@...utronix.de>
To: Borislav Petkov <bp@...en8.de>
Cc: Ingo Molnar <mingo@...hat.com>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Andrew Cooper <andrew.cooper3@...rix.com>,
	Sean Christopherson <seanjc@...gle.com>,
	David Woodhouse <dwmw2@...radead.org>,
	"H. Peter Anvin" <hpa@...or.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Sohil Mehta <sohil.mehta@...el.com>,
	John Ogness <john.ogness@...utronix.de>, x86@...nel.org,
	x86-cpuid@...ts.linux.dev, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 08/35] x86/cpuid: Introduce a centralized CPUID parser

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@linutronix.de
  https://lore.kernel.org/lkml/20250515202143.34448-1-darwi@linutronix.de

Thanks!
Ahmed

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ