EDAC, sb_edac: Drop NUM_CHANNELS from 8 back to 4
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Tue, 23 May 2017 00:08:34 +0000 (08:08 +0800)
committerBorislav Petkov <bp@suse.de>
Thu, 25 May 2017 12:40:40 +0000 (14:40 +0200)
We don't need this quirk anymore now that the EDAC memory controller
representation matches the hardware.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170523000834.87881-1-qiuxu.zhuo@intel.com
[ Commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/sb_edac.c

index fad5c79741d2e0a855d6105e0cf6b4e8f886d415..b9564f767269c3e5d427ef4e2e280b12e3ee09f6 100644 (file)
@@ -279,7 +279,7 @@ static const u32 correrrthrsld[] = {
  * sbridge structs
  */
 
-#define NUM_CHANNELS           8       /* 2MC per socket, four chan per MC */
+#define NUM_CHANNELS           4       /* Max channels per MC */
 #define MAX_DIMMS              3       /* Max DIMMS per channel */
 #define KNL_MAX_CHAS           38      /* KNL max num. of Cache Home Agents */
 #define KNL_MAX_CHANNELS       6       /* KNL max num. of PCI channels */