Commit 4c3579f6 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'edac_fixes_for_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp

Pull EDAC fix from Borislav Petkov:
 "sb_edac: Prevent memory corruption on KNL (from Anna Karbownik)"

* tag 'edac_fixes_for_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
parents 85a2d939 bf848670
...@@ -279,7 +279,7 @@ static const u32 correrrthrsld[] = { ...@@ -279,7 +279,7 @@ static const u32 correrrthrsld[] = {
* sbridge structs * sbridge structs
*/ */
#define NUM_CHANNELS 4 /* Max channels per MC */ #define NUM_CHANNELS 6 /* Max channels per MC */
#define MAX_DIMMS 3 /* Max DIMMS per channel */ #define MAX_DIMMS 3 /* Max DIMMS per channel */
#define KNL_MAX_CHAS 38 /* KNL max num. of Cache Home Agents */ #define KNL_MAX_CHAS 38 /* KNL max num. of Cache Home Agents */
#define KNL_MAX_CHANNELS 6 /* KNL max num. of PCI channels */ #define KNL_MAX_CHANNELS 6 /* KNL max num. of PCI channels */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment