Qiuxu Zhuo
074df512d4
EDAC, skx_edac: Fix logical channel intermediate decoding
commit 8f18973877204dc8ca4ce1004a5d28683b9a7086 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:15:06 -08:00
..
2018-08-03 07:50:34 +02:00
2016-09-01 08:55:24 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-13 11:15:06 -08:00
2018-11-13 11:15:06 -08:00
2017-07-17 13:42:48 +02:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2017-07-19 07:42:41 +02:00
2016-02-10 10:37:46 +01:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2016-12-15 08:54:51 -02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2018-10-03 17:00:53 -07:00
2018-08-24 13:08:55 +02:00
2017-01-28 14:36:47 +01:00
2016-12-15 08:54:51 -02:00
2017-11-02 11:10:55 +01:00
2016-12-15 08:54:51 -02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2017-02-09 17:40:54 +01:00
2016-09-01 10:28:01 +02:00
2017-07-17 13:42:48 +02:00
2016-12-15 08:54:51 -02:00
2017-07-17 13:42:48 +02:00
2018-11-13 11:15:06 -08:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-04-27 14:15:38 +02:00
2016-12-15 08:54:51 -02:00
2017-04-10 17:14:48 +02:00
2018-04-19 08:56:20 +02:00
2017-11-02 11:10:55 +01:00
2017-02-03 10:36:35 +01:00
2016-09-01 10:28:00 +02:00
2018-04-12 12:32:19 +02:00
2011-04-19 00:23:22 +02:00
2016-12-15 08:54:51 -02:00
2018-02-16 20:23:07 +01:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2017-08-19 10:51:11 +02:00
2017-03-16 12:40:52 +01:00
2017-07-19 07:42:41 +02:00
2017-07-17 13:42:48 +02:00
2018-11-13 11:15:06 -08:00
2018-11-13 11:15:06 -08:00
2017-07-17 13:42:48 +02:00
2017-08-18 19:12:08 +02:00
2016-12-15 08:54:51 -02:00
2016-08-15 07:21:29 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00