From: Mario Limonciello <mario.limonciello@amd.com>
To: Yazen Ghannam <yazen.ghannam@amd.com>, Borislav Petkov <bp@alien8.de>
Cc: Tony Luck <tony.luck@intel.com>,
superm1@kernel.org, linux-edac@vger.kernel.org,
Shrirang Deskhmukh <Shrirang.Deskhmukh@amd.com>
Subject: Re: [PATCH] RAS/AMD/ATL: Decrease message about unknown DF revision to debug
Date: Wed, 18 Mar 2026 10:43:04 -0500 [thread overview]
Message-ID: <b7c232c0-51b7-4ebe-9c9f-20537628fd38@amd.com> (raw)
In-Reply-To: <20260307144910.GA113343@yaz-khff2.amd.com>
On 3/7/2026 8:49 AM, Yazen Ghannam wrote:
> On Fri, Mar 06, 2026 at 04:49:47PM +0100, Borislav Petkov wrote:
>> On Fri, Mar 06, 2026 at 09:40:06AM -0600, Mario Limonciello wrote:
>>> But don't you need to use UMC to discover that? Chicken and egg type of
>>> issue.
>>
>> Probably...
>>
>> And we already do that in amd64_edac. So perhaps we could export an API or so.
>> Yazen might have an idea...
>>
>
> How about having EDAC load ATL when ready?
>
> Thanks,
> Yazen
>
> ---
>
>>From d4e3cdb2efb34ccb2c234a4b227d0301327ad340 Mon Sep 17 00:00:00 2001
> From: Yazen Ghannam <yazen.ghannam@amd.com>
> Date: Sat, 7 Mar 2026 08:58:56 -0500
> Subject: [PATCH] RAS/AMD/ATL, EDAC/amd64: Only load ATL when needed
>
> 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 <mario.limonciello@amd.com>
> Closes: https://lore.kernel.org/20260305154528.1171999-1-mario.limonciello@amd.com
> Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
One of my colleagues tested it.
Tested-by: Deskhmukh Shrirang <Shrirang.Deskhmukh@amd.com>
> ---
> drivers/edac/amd64_edac.c | 2 ++
> drivers/ras/amd/atl/core.c | 1 -
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
> index 8908ab881c85..7b04f7c5e2ba 100644
> --- a/drivers/edac/amd64_edac.c
> +++ b/drivers/edac/amd64_edac.c
> @@ -4170,6 +4170,8 @@ static int __init amd64_edac_init(void)
> goto err_pci;
> }
>
> + request_module("amd_atl");
> +
> /* register stuff with EDAC MCE */
> if (boot_cpu_data.x86 >= 0x17) {
> amd_register_ecc_decoder(decode_umc_error);
> diff --git a/drivers/ras/amd/atl/core.c b/drivers/ras/amd/atl/core.c
> index 0f7cd6dab0b0..d77dacdd4f56 100644
> --- a/drivers/ras/amd/atl/core.c
> +++ b/drivers/ras/amd/atl/core.c
> @@ -190,7 +190,6 @@ static const struct x86_cpu_id amd_atl_cpuids[] = {
> X86_MATCH_FEATURE(X86_FEATURE_ZEN, NULL),
> { }
> };
> -MODULE_DEVICE_TABLE(x86cpu, amd_atl_cpuids);
Pretty sure this means you can drop amd_atl_cpuids as well.
>
> static int __init amd_atl_init(void)
> {
next prev parent reply other threads:[~2026-03-18 15:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 15:45 [PATCH] RAS/AMD/ATL: Decrease message about unknown DF revision to debug Mario Limonciello
2026-03-06 14:50 ` Borislav Petkov
2026-03-06 15:03 ` Mario Limonciello
2026-03-06 15:32 ` Borislav Petkov
2026-03-06 15:40 ` Mario Limonciello
2026-03-06 15:49 ` Borislav Petkov
2026-03-07 14:49 ` Yazen Ghannam
2026-03-07 15:12 ` Borislav Petkov
2026-03-10 12:54 ` Yazen Ghannam
2026-03-10 14:58 ` Mario Limonciello
2026-03-10 16:52 ` Yazen Ghannam
2026-03-10 17:47 ` Mario Limonciello
2026-03-11 13:38 ` Yazen Ghannam
2026-03-11 14:28 ` Mario Limonciello
2026-03-18 15:43 ` Mario Limonciello [this message]
2026-03-19 14:36 ` Yazen Ghannam
2026-03-20 3:30 ` Mario Limonciello
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=b7c232c0-51b7-4ebe-9c9f-20537628fd38@amd.com \
--to=mario.limonciello@amd.com \
--cc=Shrirang.Deskhmukh@amd.com \
--cc=bp@alien8.de \
--cc=linux-edac@vger.kernel.org \
--cc=superm1@kernel.org \
--cc=tony.luck@intel.com \
--cc=yazen.ghannam@amd.com \
/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