From: Yazen Ghannam <yazen.ghannam@amd.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Mario Limonciello <mario.limonciello@amd.com>,
Tony Luck <tony.luck@intel.com>,
superm1@kernel.org, linux-edac@vger.kernel.org
Subject: Re: [PATCH] RAS/AMD/ATL: Decrease message about unknown DF revision to debug
Date: Tue, 10 Mar 2026 08:54:22 -0400 [thread overview]
Message-ID: <20260310125422.GB890303@yaz-khff2.amd.com> (raw)
In-Reply-To: <20260307151231.GAaaxAX3gT1AKv04I4@fat_crate.local>
On Sat, Mar 07, 2026 at 04:12:31PM +0100, Borislav Petkov wrote:
> On Sat, Mar 07, 2026 at 09:49:10AM -0500, 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?
>
> The thing is, AMD_ATL can also be built-in so then request_module doesn't make
> sense.
>
> Which means, if we have to "tie" it to amd64_edac detection, we'd have to make
> it synchronize its Kconfig setting to the CONFIG_EDAC_AMD64 setting.
>
> Or we could simply say that AMD_ATL is a module only because if anything needs
> it, then anything should request it. And that makes sense because the address
> translation should be present only when something else loads which is at all
> capable of presenting addresses which can be translated.
>
> IOW, AMD_ATL should not be builtin at all because, well, it doesn't make any
> sense for it to be. IOW, its existence alone on the system makes a little
> sense if there's no address producer like amd64_edac or whatever else calls
> amd_convert_umc_mca_addr_to_sys_addr()...
>
> Hmmm.
>
> It sure sounds weird...
>
So AMD_ATL *can* be built-in, but it is default 'N'. CONFIG_EDAC_AMD64
has 'imply AMD_ATL', so CONFIG_AMD_ATL=CONFIG_EDAC_AMD64.
If CONFIG_EDAC_AMD64=m, then CONFIG_AMD_ATL=m. I think this would be the
default for most users. EDAC will fail to load on systems without DRAM
ECC, so AMD_ATL won't load either.
If CONFIG_EDAC_AMD64=y, then CONFIG_AMD_ATL=y. I expect that a user that
wants EDAC built-in knows their system will use it.
Thanks,
Yazen
next prev parent reply other threads:[~2026-03-10 12:54 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 [this message]
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
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=20260310125422.GB890303@yaz-khff2.amd.com \
--to=yazen.ghannam@amd.com \
--cc=bp@alien8.de \
--cc=linux-edac@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=superm1@kernel.org \
--cc=tony.luck@intel.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