aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorVishal Badole <Vishal.Badole@amd.com>2026-10-02 17:02:03 +0530
committerBorislav Petkov (AMD) <bp@alien8.de>2026-10-05 11:02:42 -0700
commit7484bc43ba6b8e189b482db5b75e7842890a82b1 (patch)
treeff1bc8b007bafe0cd06e21a1658b5e0df1efec80 /scripts/gcc-plugins
parenta90ee4305c4a5df72c11b31dacfdc76e00fcf78a (diff)
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: 713ad54675fd ("EDAC, amd64: Define and register UMC error decode function") Suggested-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Vishal Badole <Vishal.Badole@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com> Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20261002113204.3358815-2-Vishal.Badole@amd.com
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions