From: Qiuxu Zhuo Date: Tue, 23 May 2017 00:08:34 +0000 (+0800) Subject: EDAC, sb_edac: Drop NUM_CHANNELS from 8 back to 4 X-Git-Tag: v5.15~11036^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3286d3eb906cbac832884dda8ce2fdc7acb17a65;p=platform%2Fkernel%2Flinux-starfive.git EDAC, sb_edac: Drop NUM_CHANNELS from 8 back to 4 We don't need this quirk anymore now that the EDAC memory controller representation matches the hardware. Signed-off-by: Qiuxu Zhuo Cc: linux-edac Link: http://lkml.kernel.org/r/20170523000834.87881-1-qiuxu.zhuo@intel.com [ Commit message. ] Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index fad5c79..b9564f7 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -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 */