[RFC] RAS/CEC: Should cec_notifier() set MCE_HANDLED_CEC after a soft-offline?

From: Kyle Meyer
Date: Tue Oct 01 2024 - 14:27:25 EST


Hi Boris and Tony,

I noticed CEC should indicate whether it took action to log or handle an error
by setting MCE_HANDLED_CEC (commit 1de08dc) and that EDAC and dev-mcelog should
skip errors that have been processed by CEC (commit 23ba710).

cec_notifier() does not set MCE_HANDLED_CEC when the offlining threshold
is reached in cec_add_elem() because the return code is not zero. Is that
intentional?

Thanks,
Kyle Meyer