]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/x86/kcpuid: Introduce a complete cpuid bitfields CSV file
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 18 Jul 2024 13:47:48 +0000 (15:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 2 Aug 2024 07:17:19 +0000 (09:17 +0200)
commitcbbd847d107fb750e62670d0f205a7f58b36f893
tree6f8a84f5d3946db8bef2d73d5d04c25d603d493b
parent58921443e9b04bbb1866070ed14ea39578302cea
tools/x86/kcpuid: Introduce a complete cpuid bitfields CSV file

For parsing the cpuid bitfields, kcpuid uses an incomplete CSV file with
300+ bitfields.

Use an auto-generated CSV file from the x86-cpuid.org project instead.
It provides complete bitfields coverage: 830+ bitfields, all with proper
descriptions.

The auto-generated file has the following blurb automatically added:

   # SPDX-License-Identifier: CC0-1.0
   # Generator: x86-cpuid-db v1.0

The generator tag includes the project's workspace "git describe"
version string.  It is intended for projects like KernelCI, to aid in
verifying that the auto-generated files have not been tampered with.

The file also has the blurb:

   # Auto-generated file.
   # Please submit all updates and bugfixes to https://x86-cpuid.org

It's thus kindly requested that the Linux kernel's x86 tree maintainers
enforce sending all updates to x86-cpuid.org's upstream database first,
thus benefiting the whole ecosystem.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://gitlab.com/x86-cpuid.org/x86-cpuid-db/-/blob/v1.0/LICENSE.rst
Link: https://gitlab.com/x86-cpuid.org/x86-cpuid-db
Link: https://lore.kernel.org/all/20240718134755.378115-9-darwi@linutronix.de
tools/arch/x86/kcpuid/cpuid.csv