diff options
author | Pawan Gupta <pawan.kumar.gupta@linux.intel.com> | 2025-03-11 18:02:36 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 13:17:03 +0300 |
commit | 00d7fc04b703eb3e9d61dd3eac02a34c466e9f12 (patch) | |
tree | 8c9171e16cadfc341c584a8a189d1fd7877cdf69 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c3390406adc62dd2d42eb522e1ce124fa43c5dec (diff) | |
download | linux-00d7fc04b703eb3e9d61dd3eac02a34c466e9f12.tar.xz |
x86/cpu: Add cpu_type to struct x86_cpu_id
In addition to matching vendor/family/model/feature, for hybrid variants it is
required to also match cpu-type. For example, some CPU vulnerabilities like
RFDS only affect a specific cpu-type.
To be able to also match CPUs based on their type, add a new field "type" to
struct x86_cpu_id which is used by the CPU-matching tables. Introduce
X86_CPU_TYPE_ANY for the cases that don't care about the cpu-type.
[ bp: Massage commit message. ]
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/20250311-add-cpu-type-v8-3-e8514dcaaff2@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions