Re: [PATCH v4 2/2] EDAC/amd64: Include DRAM address in output

From: Borislav Petkov

Date: Thu May 14 2026 - 07:32:09 EST


On Mon, Mar 16, 2026 at 08:53:24AM -0400, Yazen Ghannam wrote:
> From: Avadhut Naik <avadhut.naik@xxxxxxx>
>
> The DRAM address of an error is used by tooling to find failure
> patterns. This information can be used for general analysis off system.
> And it can be used on system to take action like offline a page affected
> by a bad row.
>
> Other EDAC modules (GHES and SKX) provide this information in their
> output. The AMD64 EDAC module was not able to provide this information,
> because system-specific translation is needed.
>
> Recent AMD systems provide a PRM handler for DRAM address translation.
>
> Use this PRM handler to get the DRAM address of an error. Include this
> in the EDAC "other_detail" field.
>
> [Yazen: Reword commit message and reformat other_detail string]
>
> Signed-off-by: Avadhut Naik <avadhut.naik@xxxxxxx>
> Co-developed-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
> Signed-off-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
> ---
> drivers/edac/amd64_edac.c | 27 ++++++++++++++++++++++++++-
> drivers/edac/amd64_edac.h | 1 +
> 2 files changed, 27 insertions(+), 1 deletion(-)

https://sashiko.dev/#/patchset/20260316125324.396889-1-yazen.ghannam%40amd.com

Please sanity check.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette