Files
Vishal Badole 7484bc43ba EDAC/amd64: Mask UMC chip select to the four implemented selects
For DRAM ECC errors, the chip select value can be found in the
MCA_SYND[ErrorInformation] field.

ErrorInformation[2:0] was first documented in Zen1. The 3 bit field
implied that up to 8 chip selects may be used.

However, all Zen-based systems have only ever had up to 4 chip selects.
So only bits [1:0] would contain a valid chip select value.

Future systems are redefining the field to ErrorInformation[1:0]. This
matches the existing 'up to 4 chip selects' implementations. And it
frees up the extra bit for other decoding.

Change the current chip select mask from 0x7 to 0x3 to prepare for the
decode change.

Fixes: 713ad54675 ("EDAC, amd64: Define and register UMC error decode function")
Suggested-by: Yazen Ghannam <[email protected]>
Signed-off-by: Vishal Badole <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Yazen Ghannam <[email protected]>
Cc: <[email protected]>
Link: https://patch.msgid.link/[email protected]
2026-10-05 11:02:42 -07:00
..
2026-07-22 08:11:29 -07:00
2026-07-22 08:11:29 -07:00
2024-03-27 18:26:58 +01:00
2026-03-13 15:03:36 -07:00
…
…
2026-07-22 08:11:29 -07:00