[PATCH] edac: altera: Add Stratix10 SDRAM Uncorrectable Errors

Thor Thayer thor.thayer at linux.intel.com
Mon May 14 07:10:42 PDT 2018


On 05/12/2018 05:33 AM, Borislav Petkov wrote:
> On Fri, May 11, 2018 at 06:00:10PM -0500, thor.thayer at linux.intel.com wrote:
>> From: Thor Thayer <thor.thayer at linux.intel.com>
>>
>> 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.
>>
>> Depends on previous patch:
>> commit 2a4ff60626b0 ("arm64: dts: stratix10: add sdram ecc")
>>
>> Signed-off-by: Thor Thayer <thor.thayer at linux.intel.com>
>> ---
>>   drivers/edac/altera_edac.c | 67 +++++++++++++++++++++++++++++++++++++++-------
>>   drivers/edac/altera_edac.h |  8 +++++-
>>   2 files changed, 64 insertions(+), 11 deletions(-)
> 
> Ok, I think I have collected everything. Pls double-check me I haven't missed
> anything:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/log/?h=for-next
> 
> Thx.
> 
Yes, You have the entire series (aside from DT that Dinh is taking). 
Thank you!



More information about the linux-arm-kernel mailing list