RE: [PATCH 01/74] x86/cpu/vfm: Add/initialize x86_vfm field to struct cpuinfo_x86
From: Luck, Tony
Date: Thu Mar 28 2024 - 16:53:48 EST
> I don't think the format is really that big an issue. Including stepping in the
> format adds complexity to a thousand places these checks are made while
> only being useful in a few dozen.
Stats to back that up:
$ git grep INTEL_FAM6 | wc -l
876
but some of those are the definitions of the model name macros:
$ git grep INTEL_FAM6 -- arch/x86/include/asm/intel-family.h | wc -l
82
Places using the X86_MATCH_INTEL macros don't show in above count:
$ git grep X86_MATCH_INTEL | wc -l
430
Places that use STEPPINGS:
$ git grep X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS | wc -l
21
or STEPPINGS + FEATURE
$ git grep gg X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE | wc -l
6
$ git grep x86_stepping | wc -l
83
-Tony