Re: [PATCH] RAS/CEC: Add debugfs switch to disable at run time
From: Cong Wang
Date: Thu Apr 18 2019 - 18:58:52 EST
On Thu, Apr 18, 2019 at 3:02 PM Tony Luck <tony.luck@xxxxxxxxx> wrote:
>
> Useful when running error injection tests that want to
> see all of the MCi_(STATUS|ADDR|MISC) data via /dev/mcelog.
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
We saw the same problem, CONFIG_RAS hijacks all the
correctable memory errors, which leaves mcelog "broken"
silently. I know it is arguable, but until we can switch from
mcelog to rasdaemon, mcelog should still work as before.
I like this idea of disabling it at runtime, so:
Acked-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>
Thanks.