[PATCH v9 0/7] Incorporate DRAM address in EDAC messages
From: Yazen Ghannam
Date: Thu Jul 30 2026 - 15:49:39 EST
Hi all,
This revision addresses the Sashiko comments, and also includes some
other minor fixups.
Thanks,
Yazen
Cc: Avadhut Naik <avanaik92@xxxxxxxxx>
Link:
https://lore.kernel.org/20260727212045.1810480-1-yazen.ghannam@xxxxxxx
Changes in v9:
- Treat -EOPNOTSUPP like -ENODEV when PRM support is not built.
(Sashiko)
- Document why the PRM handlers do not need the MI300 address
conversion. (Sashiko)
- Clear the completed-operations bits in the translation entry points
rather than at each call site.
- Narrow the operation bitmaps to u8.
- Note that struct atl_dram_addr mirrors the PRM output buffer.
- Widen the subject prefix of patch 4 to cover the EDAC changes.
- Reorder variable declarations and reword commit messages.
Changes in v8:
- Drop "Directly export address translation helper".
- Merge the two PRM translation helpers into one. (Boris)
- Build the PRM support unconditionally and drop CONFIG_AMD_ATL_PRM.
- Formatting and other small changes.
Changes in v7:
- Drop fake_inject patch that was already accepted.
- Remove function pointers. (Boris).
Changes in v6:
- Remove fake_inject interface. (Boris)
- Add two more values to 'other_detail'.
Changes in v5:
- Address a comment from Sashiko in patch 2.
Changes in v4:
- Drop a "handler available" check in patch 1.
- Reword commit message in patch 2.
- Reformat string in patch 2.
Avadhut Naik (2):
RAS/AMD/ATL: Add DRAM address translation via PRM
EDAC/amd64: Include DRAM address in output
Yazen Ghannam (5):
RAS/AMD/ATL: Always build PRM address translation support
RAS/AMD/ATL: Refactor PRM address translation into a common helper
RAS/AMD/ATL: Add unified UMC address translation interface
RAS/AMD, EDAC/amd64: Use unified interface for SPA translation
RAS/AMD/ATL: Remove the standalone SPA translation interface
drivers/edac/amd64_edac.c | 38 ++++++++++++++++------
drivers/edac/amd64_edac.h | 2 ++
drivers/ras/amd/atl/Kconfig | 4 ---
drivers/ras/amd/atl/Makefile | 3 +-
drivers/ras/amd/atl/core.c | 4 +--
drivers/ras/amd/atl/internal.h | 13 ++------
drivers/ras/amd/atl/prm.c | 32 +++++++------------
drivers/ras/amd/atl/system.c | 4 +++
drivers/ras/amd/atl/umc.c | 58 ++++++++++++++++++++++++++++------
drivers/ras/amd/fmpm.c | 10 +++---
drivers/ras/ras.c | 31 +++++++++---------
include/linux/ras.h | 46 +++++++++++++++++++++++----
12 files changed, 160 insertions(+), 85 deletions(-)
base-commit: 4020f22dccb18f04ace6c8481dddc01603d21173
--
2.53.0