linux/drivers/ras/amd/atl
John Allen 26e43c9a89 RAS/AMD/ATL: Translate normalized to system physical addresses using PRM
AMD Zen-based systems report memory error addresses through machine
check banks representing Unified Memory Controllers (UMCs) in the form
of UMC relative "normalized" addresses. A normalized address must be
converted to a system physical address to be usable by the OS.

Future AMD platforms will provide a UEFI PRM module that implements a
number of address translation PRM handlers. This will provide an
interface for the OS to call platform specific code without requiring
the use of SMM or other heavy firmware operations.

Add support for the normalized to system physical address translation
PRM handler in the AMD Address Translation Library and prefer it over
native code if available. The GUID and parameter buffer structure are
specific to the normalized to system physical address handler provided
by the address translation PRM module included in future AMD systems.

The address translation PRM module is documented in chapter 22 of the
publicly available "AMD Family 1Ah Models 00h–0Fh and Models 10h–1Fh
ACPI v6.5 Porting Guide".

  [ bp: Massage commit message. ]

Signed-off-by: John Allen <john.allen@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240730151731.15363-3-john.allen@amd.com
2024-08-01 14:36:29 +02:00
..
access.c
core.c Merge remote-tracking branches 'ras/edac-amd-atl' and 'ras/edac-misc' into edac-updates 2024-07-15 11:59:10 +02:00
dehash.c RAS/AMD/ATL: Validate address map when information is gathered 2024-06-09 23:43:51 +02:00
denormalize.c RAS/AMD/ATL: Implement DF 4.5 NP2 denormalization 2024-06-09 23:43:58 +02:00
internal.h RAS/AMD/ATL: Translate normalized to system physical addresses using PRM 2024-08-01 14:36:29 +02:00
Kconfig RAS/AMD/ATL: Translate normalized to system physical addresses using PRM 2024-08-01 14:36:29 +02:00
Makefile RAS/AMD/ATL: Translate normalized to system physical addresses using PRM 2024-08-01 14:36:29 +02:00
map.c RAS/AMD/ATL: Implement DF 4.5 NP2 denormalization 2024-06-09 23:43:58 +02:00
prm.c RAS/AMD/ATL: Translate normalized to system physical addresses using PRM 2024-08-01 14:36:29 +02:00
reg_fields.h
system.c - The AMD memory controllers data fabric version 4.5 supports 2024-07-15 18:20:24 -07:00
umc.c RAS/AMD/ATL: Translate normalized to system physical addresses using PRM 2024-08-01 14:36:29 +02:00