]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: Add support for the CXL AER uncorrectable errors
authorShiju Jose <shiju.jose@huawei.com>
Fri, 17 Mar 2023 12:51:02 +0000 (12:51 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 30 Apr 2023 08:43:28 +0000 (09:43 +0100)
commita7524917befe7e67c02253cc27cb0c724e5992c0
tree849f5d42084392909d388d0808eb32695464642f
parent75c8fec559641f843345ef8fbc36d124b60b914d
rasdaemon: Add support for the CXL AER uncorrectable errors

Add support to log and record the CXL AER uncorrectable errors.

The corresponding Kernel patches are here:
https://lore.kernel.org/linux-cxl/166974401763.1608150.5424589924034481387.stgit@djiang5-desk3.ch.intel.com/T/#t
https://lore.kernel.org/lkml/63eeb2a8c9e3f_32d612941f@dwillia2-xfh.jf.intel.com.notmuch/T/

It was found that the header log data to be converted to the
big-endian format to correctly store in the SQLite DB likely
because the SQLite database seems uses the big-endian storage.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>#
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
ras-cxl-handler.c
ras-cxl-handler.h
ras-events.c
ras-events.h
ras-record.c
ras-record.h
ras-report.c
ras-report.h