]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RAS/AMD/ATL: Require PRM support for future systems
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 17 Oct 2025 13:26:29 +0000 (13:26 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 27 Oct 2025 18:56:41 +0000 (19:56 +0100)
commit187d1b27a1e436822c31e43aa58505f6dd8987e2
treeafe7e2829396cbe32adc4c5c5a5b56a15ee1e235
parent83be4bee57f0374ff751aaff3fef4af0af66ec81
RAS/AMD/ATL: Require PRM support for future systems

Currently, the AMD Address Translation Library will fail to load for new,
unrecognized systems (based on Data Fabric revision). The intention is to
prevent the code from executing on new systems and returning incorrect
results.

Recent AMD systems, however, may provide UEFI PRM handlers for address
translation. This is code provided by the platform through BIOS tables.  These
are the preferred method for translation, and the Linux native code can be
used as a fallback.

Future AMD systems are expected to provide PRM handlers by default. And Linux
native code will not be used.

Adjust the ATL init code so that new, unrecognized systems will default to
using PRM handlers only.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: "Mario Limonciello (AMD)" <superm1@kernel.org>
Link: https://patch.msgid.link/all/20251017-wip-atl-prm-v2-2-7ab1df4a5fbc@amd.com
drivers/ras/amd/atl/internal.h
drivers/ras/amd/atl/prm.c
drivers/ras/amd/atl/system.c
drivers/ras/amd/atl/umc.c