diff options
| author | Ihor Solodrai <ihor.solodrai@linux.dev> | 2026-09-16 12:52:00 -0700 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-09-17 01:57:26 +0200 |
| commit | 7a762b51a149b7bfe431a7571bc7df4beea52e5c (patch) | |
| tree | 09a4e7325690df27633e40f7647f129b0f781a46 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 54a2882ab9f75ab8a77a4f113145d4d709d2387c (diff) | |
x86/cpu: Initialize boot CPU cpuinfo defaults early
early_identify_cpu() clears the capability array, the CPUID table and
extended_cpuid_level, but the architectural defaults for the rest of struct
cpuinfo_x86 are set only later, in identify_cpu().
Use the same defaults from the start, so that the boot CPU does not
depend on a later reset to end up with the right ones.
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260916195203.1099646-3-ihor.solodrai@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
