sb_edac: correctly fetch DIMM width on Ivy Bridge and Haswell
authorAristeu Rozanski <aris@redhat.com>
Fri, 12 Jun 2015 19:08:17 +0000 (15:08 -0400)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 8 Sep 2015 23:33:48 +0000 (20:33 -0300)
commit12f0721c5a70408e86257c5c99605cf743cd44c6
tree4b6e40b65b4814051df9df3817dceb2e03f599ca
parent7179385afef252cd3f52c0a06cc0c405ae6d66bc
sb_edac: correctly fetch DIMM width on Ivy Bridge and Haswell

dimm_dev_type has been incorrectly determined in sb_edac. This patch fixes it
for Ivy Bridge and Haswell only since nothing like exists for Sandy Bridge.
We tested this patch in multiple systems matching the results with the
installed memory modules.

Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/edac/sb_edac.c