On 29.01.2026 14:58, Teddy Astie wrote:
> While we may not want all the other CPU informations. We likely
> want to keep the CPU string as it's more practical than trying to
> decode it from the family/model/stepping combination.

Yet why would we want it logged several hundred times by default, on a
big enough system? IOW ...

> --- a/xen/arch/x86/cpu/common.c
> +++ b/xen/arch/x86/cpu/common.c
> @@ -819,9 +819,6 @@ void print_cpu_info(unsigned int cpu)
>       const struct cpuinfo_x86 *c = cpu_data + cpu;
>       const char *vendor = NULL;
>  
> -     if (!opt_cpu_info)
> -             return;

... this conditional doesn't want removing, but amending. E.g.

        if (!opt_cpu_info && system_state >= SYS_STATE_smp_boot)
                return;

Jan

Reply via email to