Re: [PATCH v2] RAS/AMD/ATL, EDAC/amd64: Only load ATL when needed

Borislav Petkov <[email protected]> Tue, 7 Jul 2026 22:40:13 -0700
Newsgroups org.kernel.vger.linux-edac
Message-ID <20260708054013.GJak3ivcTJhj9G8FU_@fat_crate.local>
On Mon, Jul 06, 2026 at 04:21:15PM -0500, Mario Limonciello wrote:
> From: Yazen Ghannam <[email protected]>
> 
> The AMD Address Translation Library (ATL) will attempt to load on all
> AMD Zen/SMCA systems.
> 
> However, only systems with DRAM ECC enabled will use the library. Other
> systems will fail to load the library and produce an unnecessary message
> to the user.
> 
> Remove the ATL module dependency table to prevent autoloading. Request
> ATL to load from EDAC once all system checks are complete.
> 
> Fixes: 3f3174996be6 ("RAS: Introduce AMD Address Translation Library")
> Reported-by: Mario Limonciello <[email protected]>
> Closes: https://lore.kernel.org/[email protected]
> Signed-off-by: Yazen Ghannam <[email protected]>
> Tested-by: Deskhmukh Shrirang <[email protected]>
> Link: https://lore.kernel.org/all/[email protected]/
> Signed-off-by: Mario Limonciello <[email protected]>
> ---
> v2:
>  * use request_module_nowait() (Boris)
> ---
>  drivers/edac/amd64_edac.c  | 2 ++
>  drivers/ras/amd/atl/core.c | 1 -
>  2 files changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

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