Re: [PATCH] x86/MCE: Prevent CPU offline for SMCA CPUs with non-core banks

From: Yazen Ghannam
Date: Thu Aug 29 2024 - 10:19:04 EST


On Thu, Aug 29, 2024 at 04:14:15PM +0200, Borislav Petkov wrote:
> On Thu, Aug 29, 2024 at 10:03:05AM -0400, Yazen Ghannam wrote:
> > Do you think we should we continue to pursue this or no?
>
> You mean the kernel should prevent those folks from shooting themselves in the
> foot?
>
> How would that patch look like?
>

Right, I'm working on another revision. I'll try to send it today.

The gist is that we can hide the sysfs interface for CPUs that shouldn't
be hotplugged. We already do this today for other special cases like
CPU0.

Thanks,
Yazen