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

From: Borislav Petkov
Date: Fri Nov 04 2016 - 07:21:56 EST


On Thu, Nov 03, 2016 at 03:01:53PM -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>
> ---
>
> Notes:
> v2: Add commit messsage and documentation
> v3: Add ReST documentation on top of Mauro's patchset
>
> Documentation/ABI/testing/sysfs-devices-edac | 17 +++++++++++++
> Documentation/admin-guide/ras.rst | 20 +++++++++++++++
> drivers/edac/edac_mc_sysfs.c | 38 ++++++++++++++++++++++++++++
> 3 files changed, 75 insertions(+)

LGTM.

Acked-by: Borislav Petkov <bp@xxxxxxx>

Mauro, I'm assuming you're picking up this.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.