WSL2-Linux-Kernel/drivers/edac
Yazen Ghannam eb77e6b80f EDAC, amd64: Fix reporting of Chip Select sizes on Fam17h
The wrong index into the csbases/csmasks arrays was being passed to
the function to compute the chip select sizes, which resulted in the
wrong size being computed. Address that so that the correct values are
computed and printed.

Also, redo how we calculate the number of pages in a CS row.

Reported-by: Benjamin Bennett <benbennett@gmail.com>
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: <stable@vger.kernel.org> # 4.10.x
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1493313114-11260-1-git-send-email-Yazen.Ghannam@amd.com
[ Remove unneeded integer math comment, minor cleanups. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
2017-05-03 16:27:36 +02:00
..
Kconfig EDAC, ghes: Do not enable it by default 2017-04-27 14:15:38 +02:00
Makefile EDAC: Delete edac_stub.c 2017-04-10 17:14:48 +02:00
altera_edac.c EDAC, altera: Fix peripheral warnings for Cyclone5 2017-04-06 11:42:38 +02:00
altera_edac.h EDAC, altera: Rename device trigger to common name 2016-09-01 08:55:24 +02:00
amd64_edac.c EDAC, amd64: Fix reporting of Chip Select sizes on Fam17h 2017-05-03 16:27:36 +02:00
amd64_edac.h EDAC, amd64: Bump driver version 2017-02-14 11:58:05 +01:00
amd64_edac_dbg.c EDAC: amd64: Use static attribute groups 2015-02-23 13:08:09 +01:00
amd64_edac_inj.c EDAC: amd64: Use static attribute groups 2015-02-23 13:08:09 +01:00
amd76x_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
amd8111_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
amd8111_edac.h
amd8131_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
amd8131_edac.h
cell_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
cpc925_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
debugfs.c EDAC: Use edac_debugfs_remove_recursive() in edac_debugfs_exit() 2016-02-10 10:37:46 +01:00
e7xxx_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
e752x_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
edac_device.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
edac_device.h edac: move documentation from edac_device to edac_core.h 2016-12-15 08:54:51 -02:00
edac_device_sysfs.c edac: move EDAC device definitions to drivers/edac/edac_device.h 2016-12-15 08:54:51 -02:00
edac_mc.c EDAC: Rename report status accessors 2017-04-10 17:15:02 +02:00
edac_mc.h EDAC: Add routine to check if MC devices list is empty 2017-01-28 14:36:47 +01:00
edac_mc_sysfs.c EDAC: Expose per-DIMM error counts in sysfs 2017-01-19 10:29:40 +01:00
edac_module.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
edac_module.h edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
edac_pci.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
edac_pci.h edac: move documentation from edac_pci*.c to edac_pci.h 2016-12-15 08:54:51 -02:00
edac_pci_sysfs.c edac: move documentation from edac_pci*.c to edac_pci.h 2016-12-15 08:54:51 -02:00
fsl_ddr_edac.c EDAC, fsl_ddr: Make locally used symbols static 2017-02-09 17:40:54 +01:00
fsl_ddr_edac.h EDAC, fsl_ddr: Add missing DDR DRAM types 2016-09-01 10:28:01 +02:00
ghes_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
highbank_l2_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
highbank_mc_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i7core_edac.c x86/ras, EDAC, acpi: Assign MCE notifier handlers a priority 2017-01-24 09:14:57 +01:00
i3000_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i3200_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i5000_edac.c EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro 2017-03-09 09:25:29 +01:00
i5100_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i5400_edac.c EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro 2017-03-09 09:25:29 +01:00
i7300_edac.c EDAC, i7300: Test for the second channel properly 2017-01-26 11:35:23 +01:00
i82443bxgx_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i82860_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i82875p_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
i82975x_edac.c EDAC, i82975x: Add ioremap_nocache() error handling 2017-01-16 11:09:22 +01:00
ie31200_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
layerscape_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
mce_amd.c Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-02-20 12:47:44 -08:00
mce_amd.h EDAC/mce/amd: Unexport amd_decode_mce() 2017-01-24 09:14:55 +01:00
mpc85xx_edac.c EDAC, mpc85xx: Add T2080 l2-cache support 2017-02-03 10:36:35 +01:00
mpc85xx_edac.h EDAC, fsl-ddr: Separate FSL DDR driver from MPC85xx 2016-09-01 10:28:00 +02:00
mv64x60_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
mv64x60_edac.h
octeon_edac-l2c.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
octeon_edac-lmc.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
octeon_edac-pc.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
octeon_edac-pci.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
pasemi_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
pnd2_edac.c EDAC: Rename report status accessors 2017-04-10 17:15:02 +02:00
pnd2_edac.h EDAC, pnd2_edac: Add new EDAC driver for Intel SoC platforms 2017-03-16 12:40:52 +01:00
ppc4xx_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
ppc4xx_edac.h
r82600_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
sb_edac.c EDAC: Rename report status accessors 2017-04-10 17:15:02 +02:00
skx_edac.c EDAC: Rename report status accessors 2017-04-10 17:15:02 +02:00
synopsys_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
thunderx_edac.c EDAC, thunderx: Remove unused code 2017-04-07 11:49:32 +02:00
tile_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
wq.c EDAC, wq: Remove deprecated create_singlethread_workqueue() 2016-08-15 07:21:29 +02:00
x38_edac.c edac: rename edac_core.h to edac_mc.h 2016-12-15 08:54:51 -02:00
xgene_edac.c EDAC, xgene: Fix wrongly spelled "procesing" 2017-03-06 17:08:19 +01:00