powerpc/configs: enable CONFIG_RAS to fix EDAC support
PATCH RESEND 1/1 powerpc/configs: enable CONFIG_RAS to fix EDAC support
Before commit e3c4ff6d8c94 ("EDAC: Remove EDAC_MM_EDAC") EDAC_MM_EDAC selected RAS, after that commit, EDAC depends on RAS, but nobody enables it. Enable it in the config again.
---
I've missed the EDAC-CORE maintainers before. I addressed Borislav, but it (apparently) had a stale mail address and there is no mailmap entry. Hopefully, the patch will reach the right people now.
arch/powerpc/configs/85xx-hw.config | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/configs/85xx-hw.config +1 -0
@@ -90,6 +90,7 @@ CONFIG_PPC_EPAPR_HV_BYTECHAN=y CONFIG_QE_GPIO=y CONFIG_QUICC_ENGINE=y CONFIG_RAPIDIO=y +CONFIG_RAS=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_CMOS=y CONFIG_RTC_DRV_DS1307=y
Signature · 1 line
2.47.3
Borislav Petkov
maintainerQuoted 3 lines · Michael Walle
Before commit
e3c4ff6d8c94("EDAC: RemoveEDAC_MM_EDAC")EDAC_MM_EDACselected RAS, after that commit, EDAC depends on RAS, but nobody enables it. Enable it in the config again.
I have no clue what you're trying to do but forcing RAS=y in that config better have a real good reason why.
Oh and we cannot support CONFIG_EDAC_MPC85XX anymore due to lack of hw:
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 7 lines · Borislav Petkov
Quoted 3 lines · Michael Walle
Before commit
e3c4ff6d8c94("EDAC: RemoveEDAC_MM_EDAC")EDAC_MM_EDACselected RAS, after that commit, EDAC depends on RAS, but nobody enables it. Enable it in the config again.I have no clue what you're trying to do but forcing RAS=y in that config better have a real good reason why.
I don't get what you are trying to say. CONFIG_EDAC_MPC85XX is enabled in the that config already. It's just that the mentioned commit broke it because it removed the "select RAS", while EDAC depends on it. So yeah, up to that commit it was always enabled in that particular config.
Quoted 3 lines
Oh and we cannot support
CONFIG_EDAC_MPC85XXanymore due to lack of hw:
Still, it's already enabled in that config and it somewhat recently got IMX9 support, so I guess NXP is interested in keeping it.
That being said, I have the hardware, but right now I don't have much time personally. The best I could do is "Odd Fixes". (I also have two pending patches for that edac driver, yet to be posted to the ML).
-michael
Borislav Petkov
maintainerQuoted 2 lines · Michael Walle
I don't get what you are trying to say.
CONFIG_EDAC_MPC85XXis 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.
Quoted 2 lines
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.
Quoted 2 lines
Still, it's already enabled in that config and it somewhat recently got IMX9 support,
Who got IMX9 support?
Quoted 1 line
so I guess NXP is interested in keeping it.
I have not heard anything.
Quoted 2 lines
That being said, I have the hardware, but right now I don't have much time personally.
Welcome to the club. :-)
Quoted 2 lines
The best I could do is "Odd Fixes". (I also have two pending patches for that edac driver, yet to be posted to the ML).
That driver is orphaned and no one maintains it now. You would be the only one who is using it.
I can pick up well tested patches tho.
:-)
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 6 lines · Borislav Petkov
Quoted 2 lines · Michael Walle
I don't get what you are trying to say.
CONFIG_EDAC_MPC85XXis enabled in the that config already.You mean, *because*
CONFIG_EDAC_MPC85XXis =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.
Quoted 4 lines
Quoted 2 lines
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/KconfigARCH=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.
Quoted 4 lines
Quoted 2 lines
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).
..
Quoted 1 line
I can pick up well tested patches tho.
Good to hear.
-michael
Quoted 3 lines · Michael Walle
No.
CONFIG_RASis not set althoughCONFIG_EDAC_MPC85XXis set. BecauseCONFIG_RASwas *automatically* selected before the mentioned commit.
Dude, I'm agreeing with you!
Quoted 2 lines
And while doing that it will break (at least) the
corenet32_smp_defconfig, because it removes the "select RAS" (which was on theEDAC_MM_EDACsymbol).
And things like that are fixed by adjusting the config. Basically your patch.
So whoever picks it up, can add:
Thx.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 8 lines · Borislav Petkov
Quoted 2 lines
And while doing that it will break (at least) the
corenet32_smp_defconfig, because it removes the "select RAS" (which was on theEDAC_MM_EDACsymbol).And things like that are fixed by adjusting the config. Basically your patch.
So whoever picks it up, can add:
Thanks! Christophe already pointed out [1] that it should go via the same tree as the commit it fixed, i.e. the EDAC tree.
-michael
Borislav Petkov
maintainerQuoted 2 lines · Michael Walle
Thanks! Christophe already pointed out [1] that it should go via the same tree as the commit it fixed, i.e. the EDAC tree.
./scripts/get_maintainer.pl -f arch/powerpc/configs/85xx-hw.config
Madhavan Srinivasan <[email protected]> (maintainer:LINUX FOR POWERPC (32-BIT AND 64-BIT))
and he said on that thread he'd pick it up.
But I can take it too if PPC people agree on who takes it.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteMadhavan Srinivasan
maintainerQuoted 9 lines · Borislav Petkov
Quoted 2 lines · Michael Walle
Thanks! Christophe already pointed out [1] that it should go via the same tree as the commit it fixed, i.e. the EDAC tree.
./scripts/get_maintainer.pl-farch/powerpc/configs/85xx-hw.config
Madhavan Srinivasan <[email protected]> (maintainer:LINUX FOR POWERPC (32-BIT AND 64-BIT))and he said on that thread he'd pick it up.
But I can take it too if PPC people agree on who takes it.
I have added this to my next-test and I will take it via ppc tree. Maddy
Quoted 1 line
Madhavan Srinivasan
maintainerQuoted 15 lines · Michael Walle
Quoted 6 lines · Borislav Petkov
Quoted 3 lines · Michael Walle
Before commit
e3c4ff6d8c94("EDAC: RemoveEDAC_MM_EDAC")EDAC_MM_EDACselected RAS, after that commit, EDAC depends on RAS, but nobody enables it. Enable it in the config again.I have no clue what you're trying to do but forcing RAS=y in that config better have a real good reason why.
I don't get what you are trying to say.
CONFIG_EDAC_MPC85XXis enabled in the that config already. It's just that the mentioned commit broke it because it removed the "select RAS", while EDAC depends on it. So yeah, up to that commit it was always enabled in that particular config.Quoted 2 lines
Oh and we cannot support
CONFIG_EDAC_MPC85XXanymore due to lack of hw:
Quoted 8 lines
Still, it's already enabled in that config and it somewhat recently got IMX9 support, so I guess NXP is interested in keeping it.
That being said, I have the hardware, but right now I don't have much time personally. The best I could do is "Odd Fixes". (I also have two pending patches for that edac driver, yet to be posted to the ML).
I dont have hardware to test this config change and currently platform is in odd fixes anyway. I can take it via ppc tree but definitely need community help for testing fixes in future.
Maddy
Quoted 1 line
-michael