Re: [PATCH v1 0/5] x86/cpu: Refactor identify_cpu()

From: Ihor Solodrai

Date: Tue Jul 21 2026 - 14:45:47 EST


On 7/3/26 5:20 PM, Ihor Solodrai wrote:
> 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()

Hi Boris, everyone.

Bumping the thread as it's been a couple of weeks.

Please take a look when you get a chance. Thanks!

>
> arch/x86/kernel/cpu/common.c | 114 +++++++++++++++++++----------------
> 1 file changed, 61 insertions(+), 53 deletions(-)
>