The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v1 00/12] tools/x86/kcpuid: x86-cpuid-db v2.2 update
@ 2025-03-06 20:49 Ahmed S. Darwish
  2025-03-06 20:49 ` [PATCH v1 01/12] tools/x86/kcpuid: Fix error handling Ahmed S. Darwish
                   ` (11 more replies)
  0 siblings, 12 replies; 24+ messages in thread
From: Ahmed S. Darwish @ 2025-03-06 20:49 UTC (permalink / raw)
  To: Borislav Petkov, Ingo Molnar, Dave Hansen
  Cc: Thomas Gleixner, Andrew Cooper, H. Peter Anvin, x86, John Ogness,
	x86-cpuid, LKML, Ahmed S. Darwish

Hi,

This series updates kcpuid's CSV file from v1.0 to v2.2, as generated by
the x86-cpuid-db project. [*]

The CSV changes include:

* New leaves for Transmeta and Centaur/Zhaoxin.
* New bitfields at leaves 0x7, 0x80000001, 0x80000020, and 0x80000021.
* A standardized style for all x86 trademarks, registers, opcodes, byte
  units, hexadecimal digits, and x86 technical terms.

More details about the CSV changes are at the actual commit logs.

PQ Summary:

* Patch 1 is a generic kcpuid bugfix.

* Patches 2-4 are preparatory cleanups.

* Patches 5-9 add rudimentary x86 vendor detection and filtering to
  kcpuid, as the CSV file is updated with indices that are exclusive to
  certain CPU vendors.

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

* Patch 11 updates the CSV file to x86-cpuid-db v2.2.

  Patch 10 and 11 are separate on purpose, to make the CSV commit log
  diffs more sensible.

* Patch 12 puts the whole kcpuid tool under MAINTAINERS' X86 CPUID entry,
  since changes to the CSV file may require updates to the kcpuid code.
  I would also like to have myself and the x86-cpuid mailing list CCed
  for all future kcpuid patches.

Thanks!

[*] https://gitlab.com/x86-cpuid.org/x86-cpuid-db
    https://x86-cpuid.org

8<-----

Ahmed S. Darwish (12):
  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: Refactor CPUID range handling for future expansion
  tools/x86/kcpuid: Extend CPUID index mask macro
  tools/x86/kcpuid: Add rudimentary CPU vendor detection
  tools/x86/kcpuid: Restrict CPUID scanning to valid vendor ranges
  tools/x86/kcpuid: Define Transmeta and Centaur index ranges
  tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.0
  tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.2
  MAINTAINERS: Include kcpuid under X86 CPUID DATABASE

 MAINTAINERS                     |   2 +-
 tools/arch/x86/kcpuid/cpuid.csv | 787 +++++++++++++++++++-------------
 tools/arch/x86/kcpuid/kcpuid.c  | 257 +++++++----
 3 files changed, 621 insertions(+), 425 deletions(-)

base-commit: 7eb172143d5508b4da468ed59ee857c6e5e01da6
--
2.48.1

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2025-03-10 14:47 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 20:49 [PATCH v1 00/12] tools/x86/kcpuid: x86-cpuid-db v2.2 update Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 01/12] tools/x86/kcpuid: Fix error handling Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 02/12] tools/x86/kcpuid: Remove unused local variable Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 03/12] tools/x86/kcpuid: Remove unused global variable Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 04/12] tools/x86/kcpuid: Simplify usage() handling Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 05/12] tools/x86/kcpuid: Refactor CPUID range handling for future expansion Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 06/12] tools/x86/kcpuid: Extend CPUID index mask macro Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 07/12] tools/x86/kcpuid: Add rudimentary CPU vendor detection Ahmed S. Darwish
2025-03-06 21:07   ` Andrew Cooper
2025-03-07 14:06     ` Ahmed S. Darwish
2025-03-06 22:00   ` Dave Hansen
2025-03-07 13:48     ` Ahmed S. Darwish
2025-03-07 15:46       ` H. Peter Anvin
2025-03-07 15:03   ` Dave Hansen
2025-03-10 14:21     ` Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 08/12] tools/x86/kcpuid: Restrict CPUID scanning to valid vendor ranges Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 09/12] tools/x86/kcpuid: Define Transmeta and Centaur index ranges Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 10/12] tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.0 Ahmed S. Darwish
2025-03-07  3:18   ` H. Peter Anvin
2025-03-07 15:07     ` Ahmed S. Darwish
2025-03-07 15:27       ` H. Peter Anvin
2025-03-10 14:47         ` Ahmed S. Darwish
2025-03-06 20:49 ` [PATCH v1 11/12] tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.2 Ahmed S. Darwish
2025-03-06 20:50 ` [PATCH v1 12/12] MAINTAINERS: Include kcpuid under X86 CPUID DATABASE Ahmed S. Darwish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox