]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: Handle reassigned bit definitions for UMC bank
authorMuralidhara M K <muralidhara.mk@amd.com>
Fri, 30 Jun 2023 11:19:42 +0000 (11:19 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 23 Oct 2023 09:27:18 +0000 (11:27 +0200)
commit2d15882a0cbfce0b905039bebc811ac8311cd739
tree8c38db7f7c812adfd945e57fdddecf53b3fb0d37
parent1f74a59ee33b7448b00d7ba13d5ecd4918b9853c
rasdaemon: Handle reassigned bit definitions for UMC bank

On some AMD systems some of the existing bit definitions in the
CTL register of SMCA bank type are reassigned without defining
new HWID and McaType. Consequently, the errors whose bit
definitions have been reassigned in the CTL register are being
erroneously decoded.

Add new error description structure to compensate for the
reassigned bit definitions, by new software defined SMCA bank
type by utilizing  the hardware-reserved values for HWID.
The new SMCA bank type will only be employed for UMC error
decoding on affected models and the existing error description
structure for UMC bank type is still valid.

Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
mce-amd-smca.c