Re: [PATCH v3 07/17] x86/mce: Define BSP-only init

From: Yazen Ghannam
Date: Thu May 01 2025 - 13:08:36 EST


On Thu, Apr 17, 2025 at 04:18:35AM +0200, Borislav Petkov wrote:
> On Tue, Apr 15, 2025 at 02:55:02PM +0000, Yazen Ghannam wrote:
> > +/* Called only on the boot CPU. */
> > +void cpu_mca_init(struct cpuinfo_x86 *c)
>
> I guess mca_bsp_init() or mca_init() or so. Probably former as the name makes
> it perfectly clear and obviates the need for the comment above.
>
> Because there's also mcheck_cpu_init() which is per-CPU and that's confusion
> waiting to happen.
>

Okay, will change.

Thanks,
Yazen