Re: [PATCH] EDAC/mce_amd: Add missing long names for SMCA bank types
From: Yazen Ghannam
Date: Sun Oct 18 2026 - 18:34:57 EST
On Sat, Oct 17, 2026 at 12:51:45PM -0700, Borislav Petkov wrote:
> On Mon, Oct 12, 2026 at 10:03:30AM -0400, Yazen Ghannam wrote:
> > These were intentionaly left out as it as it seems users have been
> > moving to user space decode tools.
>
> You're making the old mistake:
>
> a. a naked MCE record in dmesg, you have to open the PPRs and actually decode
> it by hand. Or use a tool but most of the time, that tool is not updated with
> the latest error definitions, and you need the exact machine info in order for
> the tool to decode properly, yadda yadda...
>
> b. Get a fully decoded error string in dmesg.
>
> What is better: a) or b) ?
>
"a" is better.
The same "is not updated with the latest error definitions" applies to
the kernel.
And it's usually easier to update tools than patch the kernel (and also
deal with backporting, etc.).
In any case, this patch isn't about error descriptions. It's only about
adding the names for some bank types.
The bank types were added three years ago. AFAIK, the missing names
haven't been an issue. So I'm curious if this patch is actually fixing a
problem. If so, then that's fine.
Thanks,
Yazen