summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2019-10-22 20:35:14 +0000
committerBorislav Petkov <bp@suse.de>2019-10-25 15:36:36 +0200
commit466503d6b1b33be46ab87c6090f0ade6c6011cbc (patch)
tree8a2008da1274a8adb65c2211c63b155e7813072f /block
parent5bbab3cf211b4b70415de05f428fa91fb454aa41 (diff)
downloadlinux-466503d6b1b33be46ab87c6090f0ade6c6011cbc.tar.gz
linux-466503d6b1b33be46ab87c6090f0ade6c6011cbc.tar.bz2
linux-466503d6b1b33be46ab87c6090f0ade6c6011cbc.zip
EDAC/amd64: Set grain per DIMM
The following commit introduced a warning on error reports without a non-zero grain value. 3724ace582d9 ("EDAC/mc: Fix grain_bits calculation") The amd64_edac_mod module does not provide a value, so the warning will be given on the first reported memory error. Set the grain per DIMM to cacheline size (64 bytes). This is the current recommendation. Fixes: 3724ace582d9 ("EDAC/mc: Fix grain_bits calculation") Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org> Cc: James Morse <james.morse@arm.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Robert Richter <rrichter@marvell.com> Cc: Tony Luck <tony.luck@intel.com> Link: https://lkml.kernel.org/r/20191022203448.13962-7-Yazen.Ghannam@amd.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions