]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: Add error decoding for MCA_CTL_SMU extended bits
authorSathya Priya Kumar <sathyapriya.k@amd.com>
Thu, 11 Jan 2024 07:20:07 +0000 (01:20 -0600)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 11 Jun 2024 06:52:32 +0000 (08:52 +0200)
commitced615cf8146f51b5d6fe7a29107a2adc77407ca
tree232d8b8f488bf6bac17bb59d9caae71531c69f37
parent53c31f1a83eb1bf9dc66f73476c01f8db3cdf03b
rasdaemon: Add error decoding for MCA_CTL_SMU extended bits

Enable error decoding support for the newly added extended
error bit descriptions from MCA_CTL_SMU.
b'0:11 can be decoded from existing array smca_smu2_mce_desc.
Define a function to append the newly defined b'58:62 to the
smca_smu2_mce_desc. This reduces the maintaining Reserved bits
from b'12:57 in the code.

Signed-off-by: Sathya Priya Kumar <sathyapriya.k@amd.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
mce-amd-smca.c
ras-mce-handler.h