Skip to contentSkip to conversation

EDAC, sb_edac: Assign EDAC memory controller per h/w controller

PATCH Superseded Borislav Petkov 1 participant 1 message May 25, 2017

Subsystems (2)
lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH v6 3/7 EDAC, sb_edac: Assign EDAC memory controller per h/w controller

Quoted 11 lines · Qiuxu Zhuo

Tony pointed out that "currently the driver pretends there is one big 8-channel memory controller per socket instead of 2 4-channel controllers. This is fine with all memory controller populated with symmetrical DIMM configurations, but runs into difficulties on asymmetrical setups".

Restructure the driver to assign an EDAC memory controller to each real h/w memory controller to resolve the issue.

---

Ontop:
---
From: Borislav Petkov <[email protected]>
Date: Thu, 25 May 2017 13:00:05 +0200
Subject: [PATCH] EDAC, sb_edac: Fix mod_name

It is called "sb_edac.c" now.

---
 drivers/edac/sb_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/edac/sb_edac.c +1 -1
index 2fe965aef1ae..f25a048549ac 100644
@@ -3205,7 +3205,7 @@ static int sbridge_register_mci(struct sbridge_dev *sbridge_dev, enum type type)
 		MEM_FLAG_DDR4 : MEM_FLAG_DDR3;
 	mci->edac_ctl_cap = EDAC_FLAG_NONE;
 	mci->edac_cap = EDAC_FLAG_NONE;
-	mci->mod_name = "sbridge_edac.c";
+	mci->mod_name = "sb_edac.c";
 	mci->mod_ver = SBRIDGE_REVISION;
 	mci->dev_name = pci_name(pdev);
 	mci->ctl_page_to_phys = NULL;