]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC, i10nm: Check ECC enabling status per channel
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 26 Jun 2019 06:16:38 +0000 (14:16 +0800)
committerTony Luck <tony.luck@intel.com>
Wed, 26 Jun 2019 17:06:09 +0000 (10:06 -0700)
commit1246e0dd564c0ab72c856753a1ea25bb4d526ca7
tree243951ca06d2b99d69ae5621ad34ed20b3bcc15c
parent690db9f66291f4c5b834a88e8e9b42db4e1fba6b
EDAC, i10nm: Check ECC enabling status per channel

The i10nm_edac only checks the ECC enabling status for the first
channel of the memory controller. If there aren't memory DIMMs
populated on the first channel, but at least one DIMM populated
on the second channel, it will wrongly report that the ECC for
the memory controller is disabled that fails to load the i10nm_edac
driver. Fix it by checking ECC enabling status per channel.

[Tony: Also report which channel has ECC disabled]

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/edac/i10nm_base.c