Skip to content

Commit b68fbc8

Browse files
committed
EDAC/amd64: Correct number of UMCs for family 19h models 70h-7fh
JIRA: https://issues.redhat.com/browse/RHEL-102251 Conflicts: small context differences commit b2e673a Author: Avadhut Naik <avadhut.naik@amd.com> Date: Fri Jun 13 00:51:35 2025 +0000 EDAC/amd64: Correct number of UMCs for family 19h models 70h-7fh AMD's Family 19h-based Models 70h-7fh support 4 unified memory controllers (UMC) per processor die. The amd64_edac driver, however, assumes only 2 UMCs are supported since max_mcs variable for the models has not been explicitly set to 4. The same results in incomplete or incorrect memory information being logged to dmesg by the module during initialization in some instances. Fixes: 6c79e42 ("EDAC/amd64: Add support for ECC on family 19h model 60h-7Fh") Closes: https://lore.kernel.org/all/27dc093f-ce27-4c71-9e81-786150a040b6@reox.at/ Reported-by: reox <mailinglist@reox.at> Signed-off-by: Avadhut Naik <avadhut.naik@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: stable@kernel.org Link: https://lore.kernel.org/20250613005233.2330627-1-avadhut.naik@amd.com" Signed-off-by: Joel Savitz <jsavitz@redhat.com>
1 parent 6f5748c commit b68fbc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/edac/amd64_edac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3874,6 +3874,7 @@ static int per_family_init(struct amd64_pvt *pvt)
38743874
break;
38753875
case 0x70 ... 0x7f:
38763876
pvt->ctl_name = "F19h_M70h";
3877+
pvt->max_mcs = 4;
38773878
pvt->flags.zn_regs_v2 = 1;
38783879
break;
38793880
case 0x90 ... 0x9f:

0 commit comments

Comments
 (0)