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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250310160709.5cxlvwv6flaeu75o@desk>
Date: Mon, 10 Mar 2025 09:07:09 -0700
From: Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
	Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
	daniel.sneddon@...ux.intel.com, tony.luck@...el.com,
	linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
	linux-perf-users@...r.kernel.org,
	Josh Poimboeuf <jpoimboe@...nel.org>,
	Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
	"Rafael J. Wysocki" <rafael@...nel.org>,
	Ricardo Neri <ricardo.neri-calderon@...ux.intel.com>,
	"Liang, Kan" <kan.liang@...ux.intel.com>,
	Andrew Cooper <andrew.cooper3@...rix.com>,
	Brice Goglin <brice.goglin@...il.com>,
	Mario Limonciello <mario.limonciello@....com>,
	Perry Yuan <Perry.Yuan@....com>,
	Dapeng Mi <dapeng1.mi@...ux.intel.com>
Subject: Re: [PATCH v7 2/4] x86/cpu: Add cpu_type to struct x86_cpu_id

On Sun, Mar 09, 2025 at 06:32:39PM +0100, Borislav Petkov wrote:
> On Thu, Mar 06, 2025 at 06:18:20PM -0800, Pawan Gupta wrote:
> > diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
> > index d67614f7b7f1..18e996acb49a 100644
> > --- a/include/linux/mod_devicetable.h
> > +++ b/include/linux/mod_devicetable.h
> > @@ -692,6 +692,7 @@ struct x86_cpu_id {
> >  	__u16 feature;	/* bit index */
> >  	/* Solely for kernel-internal use: DO NOT EXPORT to userspace! */
> >  	__u16 flags;
> > +	__u8  cpu_type;
> 
> The struct is called "x86_cpu_id" and all its members describe a CPU. There's
> no need to have more "cpu_" redundancy in the member names - just call that
> "type".  It is clear that it is about a CPU's type.

Makes sense, I will change it to "type".

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ