[PATCH v10 0/7] Incorporate DRAM address in EDAC messages

Yazen Ghannam posted 7 patches 1 day, 17 hours ago
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 | 19 +++++-----
drivers/ras/amd/atl/prm.c      | 30 +++------------
drivers/ras/amd/atl/system.c   |  4 ++
drivers/ras/amd/atl/umc.c      | 69 +++++++++++++++++++++++++++++-----
drivers/ras/amd/fmpm.c         | 10 ++---
drivers/ras/ras.c              | 31 ++++++++-------
include/linux/ras.h            | 46 +++++++++++++++++++----
12 files changed, 171 insertions(+), 89 deletions(-)
[PATCH v10 0/7] Incorporate DRAM address in EDAC messages
Posted by Yazen Ghannam 1 day, 17 hours ago
Hi all,

This revision addresses a couple comments from Boris. Also, the couple
of patches originally by Avadhut have gone through a few revisions. So I
updated the attributions.

Thanks,
Yazen

Link:
https://lore.kernel.org/20260730194834.3203601-1-yazen.ghannam@amd.com

Changes in v10:
 - Retitle patch 1 and rewrite its commit message as suggested.
 - Pass a struct param_buf to prm_umc_norm_to_addr() in patch 2
   instead of the individual fields, and trim the commit message.
 - Move struct param_buf to internal.h in patch 3 so that callers
   outside prm.c can build it, and build it at each call site.
 - Drop Avadhut as author of patches 6 and 7; credit him with
   Originally-by instead.
 - Update the Assisted-by tags to the format documented in
   Documentation/process/coding-assistants.rst.

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.

Yazen Ghannam (7):
  RAS/AMD/ATL: Make PRM address translation support builtin
  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
  RAS/AMD/ATL: Add DRAM address translation via PRM
  EDAC/amd64: Include DRAM address in output

 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 | 19 +++++-----
 drivers/ras/amd/atl/prm.c      | 30 +++------------
 drivers/ras/amd/atl/system.c   |  4 ++
 drivers/ras/amd/atl/umc.c      | 69 +++++++++++++++++++++++++++++-----
 drivers/ras/amd/fmpm.c         | 10 ++---
 drivers/ras/ras.c              | 31 ++++++++-------
 include/linux/ras.h            | 46 +++++++++++++++++++----
 12 files changed, 171 insertions(+), 89 deletions(-)


base-commit: 2a11decdb2ddf456d743417d5d86b55c52baf101
-- 
2.43.0