Re: [PATCH V2] x86/mce: Serialize sysfs controls against CPU hotplug

From: Borislav Petkov

Date: Thu Oct 29 2026 - 15:06:19 EST


On Thu, Oct 29, 2026 at 02:08:01PM -0400, Yazen Ghannam wrote:
> Right, so what if we deprecate this legacy machinecheck bus and put MCE
> stuff under the CPU bus? This could be like cpufreq and cpuidle.
>
> I expect this would need a lot more changes, but the end result may be
> simpler.

And it would need at least a decade to whack because of user-visible ABI.

We should remember that proposal and point people to the /cpu/ hierarchy when
new things need to be added there which are mce specific.

I would prefer not to add anything ABI-like though and let that stuff die
because it does not belong there at all. But that was done a looong time
ago and we're stuck with it.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette