[PATCH v1 0/5] x86/cpu: Refactor identify_cpu()
From: Ihor Solodrai
Date: Fri Jul 03 2026 - 20:22:29 EST
This series refactors identify_cpu() machinery on x86 and then
implements a fix for a bug when cpu capabilities are temporarily
cleared within an interruptable window. For more details and
discussion see the relevant bug report [1].
Suggested-by: Borislav Petkov <bp@xxxxxxxxx>
Signed-off-by: Ihor Solodrai <ihor.solodrai@xxxxxxxxx>
[1] https://lore.kernel.org/bpf/20260610175651.647515-1-ihor.solodrai@xxxxxxxxx/
Ihor Solodrai (5):
x86/cpu: Factor init_cpu_info() out of identify_cpu()
x86/cpu: Inline generic_identify() into identify_cpu()
x86/cpu: Introduce identify_cpu_32() helper
x86/cpu: Set X86_BUG_ESPFIX in identify_cpu_32()
x86/cpu: Don't reset boot CPU cpuinfo in identify_cpu()
arch/x86/kernel/cpu/common.c | 114 +++++++++++++++++++----------------
1 file changed, 61 insertions(+), 53 deletions(-)
--
2.54.0