mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yazen Ghannam <yazen.ghannam@amd.com>
To: <bp@alien8.de>, <linux-edac@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH v10 0/7] Incorporate DRAM address in EDAC messages
Date: Tue, 22 Sep 2026 15:23:10 -0500	[thread overview]
Message-ID: <20260922202318.4079080-1-yazen.ghannam@amd.com> (raw)

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


             reply	other threads:[~2026-09-22 20:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 20:23 Yazen Ghannam [this message]
2026-09-22 20:23 ` [PATCH v10 1/7] RAS/AMD/ATL: Make PRM address translation support builtin Yazen Ghannam
2026-09-22 20:23 ` [PATCH v10 2/7] RAS/AMD/ATL: Refactor PRM address translation into a common helper Yazen Ghannam
2026-09-22 20:23 ` [PATCH v10 3/7] RAS/AMD/ATL: Add unified UMC address translation interface Yazen Ghannam
2026-09-22 20:23 ` [PATCH v10 4/7] RAS/AMD, EDAC/amd64: Use unified interface for SPA translation Yazen Ghannam
2026-09-22 20:23 ` [PATCH v10 5/7] RAS/AMD/ATL: Remove the standalone SPA translation interface Yazen Ghannam
2026-09-22 20:23 ` [PATCH v10 6/7] RAS/AMD/ATL: Add DRAM address translation via PRM Yazen Ghannam
2026-09-22 20:23 ` [PATCH v10 7/7] EDAC/amd64: Include DRAM address in output Yazen Ghannam
2026-09-28  5:30 ` [PATCH v10 0/7] Incorporate DRAM address in EDAC messages Borislav Petkov
2026-09-28 15:12   ` Yazen Ghannam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260922202318.4079080-1-yazen.ghannam@amd.com \
    --to=yazen.ghannam@amd.com \
    --cc=bp@alien8.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®