From: "Michael Walle" <mwalle@kernel.org>
To: "Borislav Petkov" <bp@alien8.de>
Cc: "Madhavan Srinivasan" <maddy@linux.ibm.com>,
"Michael Ellerman" <mpe@ellerman.id.au>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Christophe Leroy" <chleroy@kernel.org>,
"Tony Luck" <tony.luck@intel.com>,
<linuxppc-dev@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>,
"Janusz Krzysztofik" <jmkrzyszt@gmail.com>,
"Takashi Iwai" <tiwai@suse.de>,
"David Heidelberg" <david@ixit.cz>, <linux-edac@vger.kernel.org>
Subject: Re: [PATCH RESEND] powerpc/configs: enable CONFIG_RAS to fix EDAC support
Date: Mon, 10 Aug 2026 10:10:43 +0200 [thread overview]
Message-ID: <DKL4118H7S5U.1FN3E4DBY4GHF@kernel.org> (raw)
In-Reply-To: <20260731022855.GNamwIZw7Fz4Yhk__S@fat_crate.local>
[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]
On Fri Jul 31, 2026 at 4:28 AM CEST, Borislav Petkov wrote:
> On Thu, Jul 30, 2026 at 10:35:20PM +0200, Michael Walle wrote:
>> I don't get what you are trying to say. CONFIG_EDAC_MPC85XX is
>> enabled in the that config already.
>
> You mean, *because* CONFIG_EDAC_MPC85XX is =y, then RAS=y? I guess that is
> true for this particular config.
No. CONFIG_RAS is not set although CONFIG_EDAC_MPC85XX is set.
Because CONFIG_RAS was *automatically* selected before the mentioned
commit.
>> It's just that the mentioned commit broke it because it removed the "select
>> RAS", while EDAC depends on it.
>
> No, that commit dropped a select statement which is good in its own right.
And while doing that it will break (at least) the corenet32_smp_defconfig,
because it removes the "select RAS" (which was on the EDAC_MM_EDAC symbol).
How would that work without adding CONFIG_RAS=y to the defconfigs
where EDAC (or rather EDAC_MM_EDAC) is enabled?
Here's a quick test:
git checkout e3c4ff6d8c94
# remove "default y" from PCIEAER, because that is also selecting
# RAS. But it was removed in 8c8ff55b4da7 ("PCI/AER: Don't select
# CONFIG_PCIEAER by default").
sed -i "/default y/d" drivers/pci/pcie/aer/Kconfig
ARCH=powerpc make corenet32_smp_defconfig
grep CONFIG_EDAC .config # no CONFIG_EDAC, nor CONFIG_EDAC_MPC85XX
git revert e3c4ff6d8c94
grep CONFIG_EDAC .config
You see, before that commit, the driver was actually enabled, and
after that commit it is not.
I'm really not sure what I still have to show you that you agree,
that it's a regression.
>> Still, it's already enabled in that config and it somewhat recently
>> got IMX9 support,
>
> Who got IMX9 support?
Disregard that, I was confused, it's in the fsl_ddr_edac.c (which is
shared between EDAC_LAYERSCAPE and EDAC_MPC85XX).
..
> I can pick up well tested patches tho.
Good to hear.
-michael
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 297 bytes --]
next prev parent reply other threads:[~2026-08-10 8:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 10:52 [PATCH RESEND] powerpc/configs: enable CONFIG_RAS to fix EDAC support Michael Walle
2026-07-30 18:56 ` Borislav Petkov
2026-07-30 20:35 ` Michael Walle
2026-07-31 2:28 ` Borislav Petkov
2026-08-10 8:10 ` Michael Walle [this message]
2026-08-10 13:50 ` Borislav Petkov
2026-08-10 14:03 ` Michael Walle
2026-08-10 17:01 ` Borislav Petkov
2026-07-31 11:22 ` Madhavan Srinivasan
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=DKL4118H7S5U.1FN3E4DBY4GHF@kernel.org \
--to=mwalle@kernel.org \
--cc=bp@alien8.de \
--cc=chleroy@kernel.org \
--cc=david@ixit.cz \
--cc=jmkrzyszt@gmail.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=tiwai@suse.de \
--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