Skip to content

tools/x86/kcpuid: Update to x86-cpuid-db v2.0

Ahmed S. Darwish lkml x86-cpuid 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13LICENSES: Add Creative Commons Zero v1.0 UniversalLICENSES/deprecated/CC0-1.0+129 -00 replies
2/13tools/x86/kcpuid: Reorder header includestools/arch/x86/kcpuid/kcpuid.c+2 -20 replies
3/13tools/x86/kcpuid: Fix error handlingtools/arch/x86/kcpuid/kcpuid.c+43 -110 replies
4/13tools/x86/kcpuid: Remove unused local variabletools/arch/x86/kcpuid/kcpuid.c+0 -40 replies
5/13tools/x86/kcpuid: Remove unused global variabletools/arch/x86/kcpuid/kcpuid.c+0 -110 replies
6/13tools/x86/kcpuid: Simplify usage() handlingtools/arch/x86/kcpuid/kcpuid.c+8 -130 replies
7/13tools/x86/kcpuid: Prepare for more index rangestools/arch/x86/kcpuid/kcpuid.c+62 -410 replies
8/13tools/x86/kcpuid: Extend index mask macrotools/arch/x86/kcpuid/kcpuid.c+4 -40 replies
9/13tools/x86/kcpuid: Add rudimentary vendors detectiontools/arch/x86/kcpuid/kcpuid.c+61 -40 replies
10/13tools/x86/kcpuid: Scan valid cpuid ranges onlytools/arch/x86/kcpuid/kcpuid.c+3 -10 replies
11/13tools/x86/kcpuid: Add Transmeta and Centaur rangestools/arch/x86/kcpuid/kcpuid.c+10 -00 replies
12/13tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.0tools/arch/x86/kcpuid/cpuid.csv+382 -2660 replies
13/13MAINTAINERS: Include kcpuid under X86 CPUID entryMAINTAINERS+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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