projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35fca4
)
edac: fix the error about memory type detection on SandyBridge
author
Chen Gong
<gong.chen@linux.intel.com>
Mon, 14 May 2012 08:51:26 +0000
(
05:51
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 11 Jun 2012 14:49:51 +0000
(11:49 -0300)
On SandyBridge, DDRIOA(Dev: 17 Func: 0 Offset: 328) is used
to detect whether DIMM is RDIMM/LRDIMM, not TA(Dev: 15 Func: 0).
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/sb_edac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/sb_edac.c
b/drivers/edac/sb_edac.c
index a21ace0b709dc467ef006461fed62f131a6c9a80..36ad17e79d6183e3f21bf63f3266dc169f3941a0 100644
(file)
--- a/
drivers/edac/sb_edac.c
+++ b/
drivers/edac/sb_edac.c
@@
-555,7
+555,7
@@
static int get_dimm_config(struct mem_ctl_info *mci)
pvt->is_close_pg = false;
}
- pci_read_config_dword(pvt->pci_
ta
, RANK_CFG_A, ®);
+ pci_read_config_dword(pvt->pci_
ddrio
, RANK_CFG_A, ®);
if (IS_RDIMM_ENABLED(reg)) {
/* FIXME: Can also be LRDIMM */
debugf0("Memory is registered\n");