Re: [PATCH v2 2/2] EDAC/mc_sysfs: Increase legacy channel support to 16
From: Borislav Petkov
Date: Tue Aug 19 2025 - 09:52:00 EST
On Tue, Aug 19, 2025 at 09:30:40AM -0400, Yazen Ghannam wrote:
> Maybe it's time to final remove this legacy interface? It's been
> obsolete for more than a decade now.
>
> 199747106934 ("edac: add a new per-dimm API and make the old per-virtual-rank API obsolete")
Bah, look how time flies... :-\
Good catch - I had completely forgotten about this gunk.
> Any guidance on the best way to remove this?
Yeah, you set it to default n in Kconfig and add a warning when someone reads
the old sysfs nodes. Something along the lines that this interface has been
deprecated for a decade now and that people should switch to the new dimm
interface and that it will be removed in, say, 2-3 kernel releases or so.
I'd say.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette