diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2022-04-14 13:28:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-27 14:50:48 +0300 |
commit | 530d32ac52f7291a77de5495a8498d5746573247 (patch) | |
tree | 6f27c84640031a28743197e1cadb5501de0d5e23 /mm/oom_kill.c | |
parent | 91367af460dadab52ca009529191267af88ab9eb (diff) | |
download | linux-530d32ac52f7291a77de5495a8498d5746573247.tar.xz |
EDAC/synopsys: Read the error count from the correct register
commit e2932d1f6f055b2af2114c7e64a26dc1b5593d0c upstream.
Currently, the error count is read wrongly from the status register. Read
the count from the proper error count register (ERRCNT).
[ bp: Massage. ]
Fixes: b500b4a029d5 ("EDAC, synopsys: Add ECC support for ZynqMP DDR controller")
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220414102813.4468-1-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions