EDAC, sb_edac: Assign EDAC memory controller per h/w controller
Subsystems (2)
Borislav Petkov
maintainerPATCH 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.
Signed-off-by Qiuxu Zhuo <[email protected]>---
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.
Signed-off-by Borislav Petkov <[email protected]>
--- drivers/edac/sb_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/edac/sb_edac.c +1 -1
@@ -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 ;