linux-stable/drivers/edac
Qiuxu Zhuo 4ef899b328 EDAC, skx_edac: Fix logical channel intermediate decoding
commit 8f18973877 upstream.

The code "lchan = (lchan << 1) | ~lchan" for logical channel
intermediate decoding is wrong. The wrong intermediate decoding
result is {0xffffffff, 0xfffffffe}.

Fix it by replacing '~' with '!'. The correct intermediate
decoding result is {0x1, 0x2}.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: Aristeu Rozanski <aris@redhat.com>
CC: Mauro Carvalho Chehab <mchehab@kernel.org>
CC: linux-edac <linux-edac@vger.kernel.org>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/20181009172025.18594-1-tony.luck@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-13 11:16:56 -08:00
..
altera_edac.c EDAC, altera: Fix ARM64 build warning 2018-08-03 07:55:21 +02:00
altera_edac.h EDAC, altera: Rename device trigger to common name 2016-09-01 08:55:24 +02:00
amd64_edac.c x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping 2018-02-22 15:43:55 +01:00
amd64_edac.h EDAC, amd64: Add x86cpuid sanity check during init 2017-11-15 15:53:12 +01: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 EDAC: Use edac_debugfs_remove_recursive() in edac_debugfs_exit() 2016-02-10 10:37:46 +01:00
e7xxx_edac.c
e752x_edac.c
edac_core.h
edac_device.c EDAC: Rework workqueue handling 2015-12-11 16:56:43 +01:00
edac_device_sysfs.c EDAC: Remove edac_get_sysfs_subsys() error handling 2015-12-11 16:56:41 +01:00
edac_mc.c EDAC: Fix workqueues poll period resetting 2016-06-03 11:14:27 +02:00
edac_mc_sysfs.c EDAC: Fix memleak in module init error path 2018-10-03 17:01:48 -07:00
edac_module.c EDAC: Rework workqueue handling 2015-12-11 16:56:43 +01:00
edac_module.h EDAC: Rework workqueue handling 2015-12-11 16:56:43 +01:00
edac_pci.c EDAC: Cleanup/sync workqueue functions 2016-02-02 11:38:50 +01:00
edac_pci_sysfs.c EDAC: Remove edac_get_sysfs_subsys() error handling 2015-12-11 16:56:41 +01:00
edac_stub.c EDAC: Rip out the edac_subsys reference counting 2015-12-11 16:56:39 +01:00
fsl_ddr_edac.c EDAC, fsl_ddr: Fix error return code in fsl_mc_err_probe() 2016-09-09 19:27:22 +02:00
fsl_ddr_edac.h EDAC, fsl_ddr: Add missing DDR DRAM types 2016-09-01 10:28:01 +02:00
ghes_edac.c
highbank_l2_edac.c
highbank_mc_edac.c
i7core_edac.c EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting 2018-11-13 11:16:56 -08:00
i3000_edac.c
i3200_edac.c
i5000_edac.c EDAC, i5000, i5400: Fix definition of NRECMEMB register 2017-12-14 09:28:22 +01:00
i5100_edac.c EDAC, i5100: Use to_delayed_work() 2016-01-01 18:31:34 +01:00
i5400_edac.c EDAC, i5000, i5400: Fix definition of NRECMEMB register 2017-12-14 09:28:22 +01:00
i7300_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
ie31200_edac.c EDAC, ie31200_edac: Add Skylake support 2016-05-06 18:50:14 +02:00
Kconfig * Altera Arria10 enablement of NAND, DMA, USB, QSPI and SD-MMC FIFO 2016-10-04 12:06:26 -07:00
layerscape_edac.c EDAC, layerscape: Add Layerscape EDAC support 2016-09-01 10:28:03 +02:00
Makefile * Altera Arria10 enablement of NAND, DMA, USB, QSPI and SD-MMC FIFO 2016-10-04 12:06:26 -07:00
mce_amd.c x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping 2018-02-22 15:43:55 +01:00
mce_amd.h
mpc85xx_edac.c EDAC: Remove NO_IRQ from powerpc-only drivers 2016-09-12 13:04:56 +02: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, mv64x60: Fix an error handling path 2018-04-13 19:48:30 +02:00
mv64x60_edac.h
octeon_edac-l2c.c
octeon_edac-lmc.c EDAC, octeon: Fix an uninitialized variable warning 2018-02-17 13:21:19 +01:00
octeon_edac-pc.c
octeon_edac-pci.c
pasemi_edac.c
ppc4xx_edac.c EDAC: Remove NO_IRQ from powerpc-only drivers 2016-09-12 13:04:56 +02:00
ppc4xx_edac.h
r82600_edac.c
sb_edac.c EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting 2018-11-13 11:16:56 -08:00
skx_edac.c EDAC, skx_edac: Fix logical channel intermediate decoding 2018-11-13 11:16:56 -08:00
synopsys_edac.c
tile_edac.c
wq.c EDAC, wq: Remove deprecated create_singlethread_workqueue() 2016-08-15 07:21:29 +02:00
x38_edac.c
xgene_edac.c EDAC, xgene: Add missing SoC register bus error handling 2016-01-25 11:17:22 +01:00