Re: [PATCH] EDAC/mc_sysfs: Increase legacy channel support to 12
From: Borislav Petkov
Date: Mon Oct 31 2022 - 06:27:04 EST
On Tue, Oct 18, 2022 at 10:36:30AM -0500, Yazen Ghannam wrote:
> Newer AMD systems, such as Genoa, can support up to 12 channels per EDAC
> "mc" device. These are detected by the device's EDAC module, and the
> current EDAC interface is properly enumerated. However, the legacy EDAC
> sysfs interface provides device attributes only for channels 0 to 7.
> Therefore, channels 8 to 11 will not be visible in the legacy interface.
> This was overlooked in the initial support for AMD Genoa.
>
> Add additional device attributes so that up to 12 channels are visible
> in the legacy EDAC sysfs interface.
>
> Ignore checkpatch warnings about "Symbolic permissions" to maintain
> coding style.
>
> Fixes: e2be5955a886 ("EDAC/amd64: Add support for AMD Family 19h Models 10h-1Fh and A0h-AFh")
> Signed-off-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> ---
> drivers/edac/edac_mc_sysfs.c | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
Applied, thanks.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette