Re: [PATCH] EDAC/device: Add sysfs notification for UE,CE count change

From: Trilok Soni
Date: Mon Jul 31 2023 - 18:40:52 EST


On 7/31/2023 3:00 PM, Deepti Jaggi wrote:
A daemon running in user space collects information on correctable
and uncorrectable errors from EDAC driver by reading corresponding
sysfs entries and takes appropriate action.

Which daemon we are referring here? Can you please provide the link to the project?

Are you using this daemon?

https://mcelog.org/ - It is for x86, but is your daemon project different?

This patch adds support for user space daemon to wait on poll() until
the sysfs entries for UE count and CE count change and then read updated
counts instead of continuously monitoring the sysfs entries for
any changes.

The modifications below are architecture agnostic so I really want to know what exactly we are fixing and if there is a problem.


--
---Trilok Soni