Re: [RFC PATCH v2 0/9] Use ERST for persistent storage of MCE and APEI errors

2023-10-26 Thread Borislav Petkov
On Sat, Oct 07, 2023 at 03:15:45PM +0800, Shuai Xue wrote: > So, IMHO, it's better to add a way to retrieve MCE records through switching > to the new generation rasdaemon solution. rasdaemon already collects errors and even saves them in a database of sorts. No kernel changes needed. > Sorry

Re: [RFC PATCH v2 0/9] Use ERST for persistent storage of MCE and APEI errors

2023-10-26 Thread Shuai Xue
On 2023/10/7 15:15, Shuai Xue wrote: > > > On 2023/9/28 22:43, Borislav Petkov wrote: >> On Mon, Sep 25, 2023 at 03:44:17PM +0800, Shuai Xue wrote: >>> After /dev/mcelog character device deprecated by commit 5de97c9f6d85 >>> ("x86/mce: Factor out and deprecate the /dev/mcelog driver"), the

Re: [RFC PATCH v2 0/9] Use ERST for persistent storage of MCE and APEI errors

2023-10-07 Thread Shuai Xue
On 2023/9/28 22:43, Borislav Petkov wrote: > On Mon, Sep 25, 2023 at 03:44:17PM +0800, Shuai Xue wrote: >> After /dev/mcelog character device deprecated by commit 5de97c9f6d85 >> ("x86/mce: Factor out and deprecate the /dev/mcelog driver"), the >> serialized MCE error record, of previous boot

Re: [RFC PATCH v2 0/9] Use ERST for persistent storage of MCE and APEI errors

2023-09-28 Thread Borislav Petkov
On Mon, Sep 25, 2023 at 03:44:17PM +0800, Shuai Xue wrote: > After /dev/mcelog character device deprecated by commit 5de97c9f6d85 > ("x86/mce: Factor out and deprecate the /dev/mcelog driver"), the > serialized MCE error record, of previous boot in persistent storage is not > collected via APEI

[RFC PATCH v2 0/9] Use ERST for persistent storage of MCE and APEI errors

2023-09-25 Thread Shuai Xue
changes log since v1: - fix a compile waring by dereferencing rcd pointer before memset - add a compile error by add CONFIG_X86_MCE - Link: https://lore.kernel.org/all/20230916130316.65815-3-xuesh...@linux.alibaba.com/ In certain scenarios (ie. hosts/guests with root filesystems on NFS/iSCSI