diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2022-10-18 10:36:30 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-10-31 11:03:34 +0100 |
commit | 25836ce1df827cb4830291cb2325067efb46753a (patch) | |
tree | 20b7212c5f540050ffd18b4d8f9491640ce28711 /sound/hda | |
parent | 7e5f430eb20108bfb0f255e27304de2e28505a8e (diff) | |
download | linux-stable-25836ce1df827cb4830291cb2325067efb46753a.tar.gz linux-stable-25836ce1df827cb4830291cb2325067efb46753a.tar.bz2 linux-stable-25836ce1df827cb4830291cb2325067efb46753a.zip |
EDAC/mc_sysfs: Increase legacy channel support to 12
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.
Fixes: e2be5955a886 ("EDAC/amd64: Add support for AMD Family 19h Models 10h-1Fh and A0h-AFh")
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221018153630.14664-1-yazen.ghannam@amd.com
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions