diff options
author | Sohil Mehta <sohil.mehta@intel.com> | 2025-02-19 21:41:21 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 13:19:38 +0300 |
commit | 7e6b0a2e4152f4046af95eeb46f8b4f9b2a7398d (patch) | |
tree | 7b8e1a4e02c266832c8ac51e6652d7207f369d68 /tools/perf/scripts/python/task-analyzer.py | |
parent | 7e67f3617228318da655dc87bc705f9c5f7bb101 (diff) | |
download | linux-7e6b0a2e4152f4046af95eeb46f8b4f9b2a7398d.tar.xz |
x86/microcode: Update the Intel processor flag scan check
The Family model check to read the processor flag MSR is misleading and
potentially incorrect. It doesn't consider Family while comparing the
model number. The original check did have a Family number but it got
lost/moved during refactoring.
intel_collect_cpu_info() is called through multiple paths such as early
initialization, CPU hotplug as well as IFS image load. Some of these
flows would be error prone due to the ambiguous check.
Correct the processor flag scan check to use a Family number and update
it to a VFM based one to make it more readable.
Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/20250219184133.816753-4-sohil.mehta@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions