Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1259678

Re: [PATCH v4] EDAC: Add ARM64 EDAC

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH v4] EDAC: Add ARM64 EDAC
Date 2015-10-30 19:00 +0100
Message-ID <qpm83-lx-37@gated-at.bofh.it> (permalink)
References <qoC5c-55v-25@gated-at.bofh.it> <qoC5c-55v-23@gated-at.bofh.it> <qpllE-5l-17@gated-at.bofh.it> <qpllE-5l-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 30, 2015 at 05:06:06PM +0000, Mark Rutland wrote:
> > * Correctable errors does not generate any interrupt:
> >   If we have to implement error parsing inside the firmware then work need
> >   to be split between OS and firmware. Maybe OS can call SMC instruction to 
> >   dial into firmware and then firmware can check error syndrome registers; 
> >   if it finds correctable error then build HEST table. This method will introduce
> >   performance issue because it require OS executing SMC every 100ms or so to just
> >   poll for correctable error. If you have any other recommendation then please share it.
> 
> I agree that this is a problem, and is an unfortunate hardware
> limitation.
> 
> I am still wary of making use of IMPLEMENTATION DEFINED features like
> this in the kernel.

Well, you could do all the correctable errors collecting in the firmware
and only report those errors to the OS when they're overflowing/reach a
certain threshold.

The idea behind it being that you don't really want to upset the user
about *every* correctable error happening because it was correctable and
the hardware, well, doh, corrected it. No problem.

But when those errors start repeating and hitting the same DIMM and
addresses in close proximity, there might be a problem which you should
report.

Btw, we have been looking for doing something like that on x86:

https://lkml.kernel.org/r/1404242623-10094-1-git-send-email-bp@alien8.de

and one of those days I'll upstream the damn thing!

:-)

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4] EDAC: Add ARM64 EDAC Mark Rutland <mark.rutland@arm.com> - 2015-10-28 17:50 +0100
  Re: [PATCH v4] EDAC: Add ARM64 EDAC Mark Rutland <mark.rutland@arm.com> - 2015-10-30 18:10 +0100
    Re: [PATCH v4] EDAC: Add ARM64 EDAC Mark Rutland <mark.rutland@arm.com> - 2015-10-30 18:40 +0100
    Re: [PATCH v4] EDAC: Add ARM64 EDAC Borislav Petkov <bp@alien8.de> - 2015-10-30 19:00 +0100

csiph-web