Re: edac driver injection of uncorrected errors & utils

2018-12-05 Thread York Sun
On 12/5/18 8:38 AM, Tracy Smith wrote: > This is more directed toward York for layerscape. I see some edac code > that seem to do periodic scrubs based on intervals or scrub rate, but > that is not needed for the layerscape driver to correct errors because > errors are scrubbed when found by the ed

Re: edac driver injection of uncorrected errors & utils

2018-12-05 Thread Borislav Petkov
On Wed, Dec 05, 2018 at 10:37:52AM -0600, Tracy Smith wrote: > This was very helpful. I'm glad. Can you do me a favor pls and not top-post when replying on a mailing list? Thx. > Tracing through the code, it doesn't do a panic > before Linux crashes from multi-bit errors because as York has > i

Re: edac driver injection of uncorrected errors & utils

2018-12-05 Thread Tracy Smith
This was very helpful. Tracing through the code, it doesn't do a panic before Linux crashes from multi-bit errors because as York has indicated, this type of memory controller doesn't limit the number of errors. I do have a general question about single bit errors. The EDAC driver corrects single

Re: edac driver injection of uncorrected errors & utils

2018-11-28 Thread Borislav Petkov
On Wed, Nov 28, 2018 at 04:14:24PM -0600, Tracy Smith wrote: > Is there another way of creating an uncorrected error without crashing > Linux using the layerscape driver? I would like to see a UE error > collected without a Linux crash scenario because I need to validate > UEs are being collected.

Re: edac driver injection of uncorrected errors & utils

2018-11-28 Thread Tracy Smith
Nothing appears in the logs or from the edac-util indicating there was a multi-bit UE (uncorrected error). Just a crash and even then I'm not 100% certain it is caused by multi-bit errors without debugging the crash. It happened when writing a 1 to inject_data_lo/inject_data_hi and 0x100 to inject_