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-next>] [day] [month] [year] [list]
Message-ID: <20241128222948.579920-1-darwi@linutronix.de>
Date: Thu, 28 Nov 2024 23:29:35 +0100
From: "Ahmed S. Darwish" <darwi@...utronix.de>
To: Borislav Petkov <bp@...en8.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	"H. Peter Anvin" <hpa@...or.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
	John Ogness <john.ogness@...utronix.de>,
	linux-kernel@...r.kernel.org,
	x86@...nel.org,
	x86-cpuid@...ts.linux.dev,
	"Ahmed S. Darwish" <darwi@...utronix.de>
Subject: [PATCH v1 00/13] tools/x86/kcpuid: Update to x86-cpuid-db v2.0

Hi,

This series updates kcpuid's bitfields CSV file to version v2.0, as
generated by the x86-cpuid-db project.

Version 2.0 of the CSV file introduces new bitfields for leaves 0x7 and
0x0x80000001.  It also introduces new leaves for Transmeta (0x3,
0x80860000 => 0x80860007) and Centaur/Zhaoxin (0xc0000000 => 0xc0000001).

Summary:

* Patch 1 fixes spdxcheck failures by adding CC0-1.0 to LICENSES/.

* Patch 3 is a generic kcpuid error handling bugfix, with patch 2 as its
  prepraration.  Thanks to Remington Brasga for the bug report.

* Patches 4-6 are preparatory kcpuid cleanups.

* Patches 7-11 introduces rudimentary x86 vendor detection and filtering
  to kcpuid, as the CSV file will be updated with indices that are
  exclusive to certain vendors.

* Patch 12 updates the CSV file to x86-cpuid-db v2.0.

* Patch 13 puts the whole kcpuid tool under MAINTAINERS' X86 CPUID entry
  since changes to the bitfields CSV may require updates to the kcpuid
  code (as in this patch queue).  I would also like to have both myself
  and the x86-cpuid mailing list CCed for future kcpuid patches.

8<-------

Ahmed S. Darwish (13):
  LICENSES: Add Creative Commons Zero v1.0 Universal
  tools/x86/kcpuid: Reorder header includes
  tools/x86/kcpuid: Fix error handling
  tools/x86/kcpuid: Remove unused local variable
  tools/x86/kcpuid: Remove unused global variable
  tools/x86/kcpuid: Simplify usage() handling
  tools/x86/kcpuid: Prepare for more index ranges
  tools/x86/kcpuid: Extend index mask macro
  tools/x86/kcpuid: Add rudimentary vendors detection
  tools/x86/kcpuid: Scan valid cpuid ranges only
  tools/x86/kcpuid: Add Transmeta and Centaur ranges
  tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.0
  MAINTAINERS: Include kcpuid under X86 CPUID entry

 LICENSES/deprecated/CC0-1.0     | 129 +++++++
 MAINTAINERS                     |   2 +-
 tools/arch/x86/kcpuid/cpuid.csv | 648 +++++++++++++++++++-------------
 tools/arch/x86/kcpuid/kcpuid.c  | 268 +++++++++----
 4 files changed, 697 insertions(+), 350 deletions(-)
 create mode 100644 LICENSES/deprecated/CC0-1.0

base-commit: adc218676eef25575469234709c2d87185ca223a
--
2.46.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ