Re: [PATCH] Add EDAC peripheral init functions & Ethernet EDAC.

From: Thor Thayer
Date: Mon Apr 18 2016 - 16:21:06 EST

On 04/18/2016 03:06 PM, Borislav Petkov wrote:
On Mon, Apr 18, 2016 at 10:02:27PM +0200, Borislav Petkov wrote:
the number of uncorrectable errors is useful from a system point of

I forgot: so altr_edac_a10_ecc_irq() panics on uncorrectable errors. Do we want
to do that even for UEs coming from the network...?

Seems a bit overboard to me...

Yes, as currently submitted, it is overboard and I'll fix this in the next patch submission. In the uncorrectable error case, I plan to just count the error. I'll add a constant flag in the Ethernet module's edac_device_prv_data to determine if the panic should be bypassed.