Re: [PATCH v2] EDAC: expose per-dimm error counts in sysfs

From: Borislav Petkov
Date: Wed Nov 02 2016 - 06:54:21 EST


On Fri, Oct 28, 2016 at 06:13:08PM +0000, Aaron Miller wrote:

Please do not top-post.

...

> On Thu, Oct 27, 2016 at 02:33:32PM -0700, Aaron Miller wrote:
> > The old 'csrowX' sysfs directories had per-csrow error counters, but the
> > new 'dimmX' directories do not currently expose error counts.
> >
> > EDAC already keeps these counts, add them to sysfs so per-dimm counts
> > are still available when CONFIG_EDAC_LEGACY_SYSFS=n
> >
> > Signed-off-by: Aaron Miller <aaronmiller@xxxxxx>
> > ---

In any case, after looking at Mauro's docs changes:

https://lkml.kernel.org/r/cover.1477765574.git.mchehab@xxxxxxxxxxxxxxxx

you'd need to add those new sysfs files to the "SYSFS INTERFACE" section
of wherever Documentation/edac.txt ends up. I believe it is:

Documentation/{edac.txt => admin-guide/ras.rst}

I believe the easiest would be if you redo this patch ontop of his
changes.

Thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.