summaryrefslogtreecommitdiff
path: root/drivers/ras/amd/atl/internal.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-04-15 08:26:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2025-04-15 08:26:33 -0700
commit1a1d569a75f3ab2923cb62daf356d102e4df2b86 (patch)
tree3690586ebf52fa229a01c6914a4db717cf19d042 /drivers/ras/amd/atl/internal.h
parent065d49851e1a345faf112f12f96272e37ccd58ad (diff)
parent58029c39cdc54ac4f4dc40b4a9c05eed9f9b808a (diff)
Merge tag 'edac_urgent_for_v6.15_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/rasHEADmaster
Pull EDAC fixes from Borislav Petkov: "Two fixes to the AMD translation library for the MI300 side of things: - Use the row[13] bit when calculating the memory row to retire - Mask the physical row address in order to avoid creating duplicate error records" * tag 'edac_urgent_for_v6.15_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras: RAS/AMD/FMPM: Get masked address RAS/AMD/ATL: Include row[13] bit in row retirement
Diffstat (limited to 'drivers/ras/amd/atl/internal.h')
-rw-r--r--drivers/ras/amd/atl/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ras/amd/atl/internal.h b/drivers/ras/amd/atl/internal.h
index f9be26d25348..d096b58cd0ae 100644
--- a/drivers/ras/amd/atl/internal.h
+++ b/drivers/ras/amd/atl/internal.h
@@ -362,4 +362,7 @@ static inline void atl_debug_on_bad_intlv_mode(struct addr_ctx *ctx)
atl_debug(ctx, "Unrecognized interleave mode: %u", ctx->map.intlv_mode);
}
+#define MI300_UMC_MCA_COL GENMASK(5, 1)
+#define MI300_UMC_MCA_ROW13 BIT(23)
+
#endif /* __AMD_ATL_INTERNAL_H__ */