]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: Modify support for vendor-specific machine check error information
authorAvadhut Naik <avadhut.naik@amd.com>
Thu, 7 Nov 2024 06:24:44 +0000 (06:24 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 Nov 2024 12:49:56 +0000 (13:49 +0100)
commit8b536321cc0679fb82d4ea7521f9375d88cec0cc
treef33d92492d97db53f957bf7e09645e5631590b10
parentc9572757a558d77aa11246e5f187e18557d57665
rasdaemon: Modify support for vendor-specific machine check error information

Commit 83a3ced797256d ("rasdaemon: Add support for vendor-specific
machine check error information") assumes that MCA_CONFIG MSR will be
exported as part of vendor-specific error information through the MCE
tracepoint.

The same, however, is not true anymore. MCA_CONFIG MSR will not be
exported through the MCE tracepoint. Instead, the data from MCA_SYND1/2
MSRs, exported as vendor-specific error information on newer AMD SOCs,
should always be interpreted as FRUText.

Modify the error decoding support accordingly.

Fixes: 83a3ced797256d ("rasdaemon: Add support for vendor-specific
machine check error information")
Signed-off-by: Avadhut Naik <avadhut.naik@amd.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
mce-amd-smca.c
ras-mce-handler.c