]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC, pnd2: Fix Apollo Lake DIMM detection
authorTony Luck <tony.luck@intel.com>
Wed, 28 Jun 2017 23:44:07 +0000 (16:44 -0700)
committerBorislav Petkov <bp@suse.de>
Thu, 29 Jun 2017 08:37:50 +0000 (10:37 +0200)
commit34a90684ad8fd609b64a6b4cf1f6b673c9de493e
tree8612f51b61bcb4f3d4a8f629393660064a230007
parente3926c08ff22beebfa6a2ffb5b5e423143cf4675
EDAC, pnd2: Fix Apollo Lake DIMM detection

Non-existent or empty DIMM slots result in error return from
RD_REGP(). But we shouldn't give up on failure.

So long as we find at least one DIMM we can continue.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170628234407.21521-1-tony.luck@intel.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/pnd2_edac.c