]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: ras-mc-ctl: Add support to display mcastatus_msg string
authorAvadhut Naik <avadhut.naik@amd.com>
Tue, 26 Mar 2024 04:06:08 +0000 (23:06 -0500)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 11 Jun 2024 09:48:07 +0000 (11:48 +0200)
commitb1ace39286e287282a275b6edc90dc2f64e60a3c
tree117d689679faf4fbfc4065ee3d2beeeef618e5fb
parent4111f38dd36fe1ca78bb9f264f14e3a83b6a6d36
rasdaemon: ras-mc-ctl: Add support to display mcastatus_msg string

Currently, the mcastatus_msg string of struct mce_event is added to the
SQLite database by the rasdaemon when it is recording errors. The same
however, is not outputted by the ras-mc-ctl utility.

The string provides important error information relating to the received
MCE. For example, on AMD SMCA systems, the string outputs extended error
code and description. As such, the string should be present in the
output of ras-mc-ctl utility.

Add support to output the string through the ras-mc-ctl utility.

Signed-off-by: Avadhut Naik <avadhut.naik@amd.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
util/ras-mc-ctl.in