linux-stable/drivers/edac
Yazen Ghannam 17f86cfbe7 EDAC/amd64: Set grain per DIMM
[ Upstream commit 466503d6b1 ]

The following commit introduced a warning on error reports without a
non-zero grain value.

  3724ace582 ("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: 3724ace582 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-11 14:14:45 +01:00
..
altera_edac.c EDAC/altera: Use the proper type for the IRQ status bits 2019-10-05 13:09:38 +02:00
altera_edac.h EDAC, altera: Handle SDRAM Uncorrectable Errors on Stratix10 2018-05-12 12:29:41 +02:00
amd64_edac.c EDAC/amd64: Set grain per DIMM 2020-03-11 14:14:45 +01:00
amd64_edac.h EDAC, amd64: Add Family 17h, models 10h-2fh support 2018-11-13 11:08:44 -08:00
amd64_edac_dbg.c
amd64_edac_inj.c
amd76x_edac.c
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
cell_edac.c
cpc925_edac.c
debugfs.c
e7xxx_edac.c
e752x_edac.c
edac_device.c
edac_device.h
edac_device_sysfs.c
edac_mc.c EDAC/mc: Fix edac_mc_find() in case no device is found 2020-01-27 14:50:48 +01:00
edac_mc.h
edac_mc_sysfs.c EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec 2019-07-26 09:14:13 +02:00
edac_module.c
edac_module.h EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec 2019-07-26 09:14:13 +02:00
edac_pci.c
edac_pci.h
edac_pci_sysfs.c
fsl_ddr_edac.c
fsl_ddr_edac.h
ghes_edac.c EDAC/ghes: Fix grain calculation 2019-12-31 16:35:58 +01:00
highbank_l2_edac.c
highbank_mc_edac.c
i7core_edac.c EDAC: Correct DIMM capacity unit symbol 2019-11-20 18:47:15 +01:00
i3000_edac.c
i3200_edac.c EDAC: Correct DIMM capacity unit symbol 2019-11-20 18:47:15 +01:00
i5000_edac.c
i5100_edac.c
i5400_edac.c
i7300_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
ie31200_edac.c
Kconfig EDAC/mpc85xx: Prevent building as a module 2019-06-15 11:54:03 +02:00
layerscape_edac.c
Makefile edac: remove tile driver 2018-03-26 15:56:17 +02:00
mce_amd.c x86/mce/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type 2018-02-21 17:00:54 +01:00
mce_amd.h
mpc85xx_edac.c
mpc85xx_edac.h
mv64x60_edac.c
mv64x60_edac.h
octeon_edac-l2c.c
octeon_edac-lmc.c
octeon_edac-pc.c
octeon_edac-pci.c
pasemi_edac.c
pnd2_edac.c EDAC, pnd2: Fix ioremap() size in dnv_rd_reg() 2019-10-05 13:09:39 +02:00
pnd2_edac.h
ppc4xx_edac.c
ppc4xx_edac.h
r82600_edac.c
sb_edac.c EDAC: Correct DIMM capacity unit symbol 2019-11-20 18:47:15 +01:00
skx_edac.c EDAC: Correct DIMM capacity unit symbol 2019-11-20 18:47:15 +01:00
synopsys_edac.c
thunderx_edac.c EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr() 2019-12-01 09:16:18 +01:00
ti_edac.c
wq.c
x38_edac.c
xgene_edac.c