On 26.01.2026 18:53, Andrew Cooper wrote:
> --- a/xen/arch/x86/cpu/common.c
> +++ b/xen/arch/x86/cpu/common.c
> @@ -503,8 +503,8 @@ void identify_cpu(struct cpuinfo_x86 *c)
>       if (c->extended_cpuid_level >= 0x80000021)
>               c->x86_capability[FEATURESET_e21a] = cpuid_eax(0x80000021);
>  
> -     if (actual_cpu.c_early_init)
> -             alternative_vcall(actual_cpu.c_early_init, c);
> +     if (c == &boot_cpu_data && actual_cpu.c_early_init)
> +             alternative_vcall(actual_cpu.c_early_init);

Using alternative_vcall() then doesn't make any sense anymore, does it?
With it replaced by an ordinary call:
Reviewed-by: Jan Beulich <[email protected]>

Jan

Reply via email to