diff options
author | Thor Thayer <thor.thayer@linux.intel.com> | 2018-05-11 18:00:10 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-05-12 12:29:41 +0200 |
commit | e9918d7fafae2ec5365b193654960f6158751f8c (patch) | |
tree | b17e0df16f20521df19240b02facab73dac300fa /drivers/edac/ghes_edac.c | |
parent | f8eb0edeb8c19aba667a087b80706bf4f61f8256 (diff) | |
download | linux-e9918d7fafae2ec5365b193654960f6158751f8c.tar.gz linux-e9918d7fafae2ec5365b193654960f6158751f8c.tar.bz2 linux-e9918d7fafae2ec5365b193654960f6158751f8c.zip |
EDAC, altera: Handle SDRAM Uncorrectable Errors on Stratix10
On Stratix10, uncorrectable errors are routed to the SError exception
instead of the IRQ exceptions. In Stratix10, uncorrectable SErrors
must be treated as fatal and will cause a panic. Older Altera/Intel
parts printed out a message for UE so do that here using the notifier
framework.
Record the UE in sticky registers that retain the state through a reset.
Check these registers on probe and printout the error on startup.
Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: mark.rutland@arm.com
Cc: mchehab@kernel.org
Cc: will.deacon@arm.com
Link: http://lkml.kernel.org/r/1526079610-5527-1-git-send-email-thor.thayer@linux.intel.com
[ Remove unused var in s10_edac_dberr_handler(), reorder args. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/ghes_edac.c')
0 files changed, 0 insertions, 0 deletions