Skip to contentSkip to conversation

ARM: OMAP2: Enable Errata 430973 for OMAP3

PATCH In review Nishanth Menon 3 participants 4 messages May 19, 2016 – Jun 9, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP2: Enable Errata 430973 for OMAP3

Enable Erratum 430973 similar to commit 5c86c5339c56 ("ARM:
omap2plus_defconfig: Enable ARM erratum 430973 for omap3") - Since multiple defconfigs can exist from various points of view (multi_v7, omap2plus etc.. it is always better to enable the erratum from the Kconfig selection point of view so that downstream kernels dont have to rediscover this all over again.

---

Note: If this approach is fine, we should probably search and fixup errata enablement we have done directly in omap2plus_defconfig.

 arch/arm/mach-omap2/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +1 -0
index 415a0bd0cda6..e0c796060fa2 100644
@@ -17,6 +17,7 @@ config ARCH_OMAP3
 	select PM_OPP if PM
 	select PM if CPU_IDLE
 	select SOC_HAS_OMAP2_SDRC
+	select ARM_ERRATA_430973
 
 config ARCH_OMAP4
 	bool "TI OMAP4"
Signature · 1 line
2.8.0
maintainer
#1 lore raw
Quoted 6 lines · Nishanth Menon

Enable Erratum 430973 similar to commit 5c86c5339c56 ("ARM:
omap2plus_defconfig: Enable ARM erratum 430973 for omap3") - Since multiple defconfigs can exist from various points of view (multi_v7, omap2plus etc.. it is always better to enable the erratum from the Kconfig selection point of view so that downstream kernels dont have to rediscover this all over again.

This should safe to select now. Note that proc-v7.S still does not do anything with multiarch to configure it. So the bootloader still needs to enable it, or it needs to be done in the machine init like n900 does.

So applying into omap-for-v4.7/fixes as it can solve some mysterious app crashers with armhf at least.

Regards,

Tony

#2 lore raw

Hi,

Quoted 8 lines · Tony Lindgren
Quoted 6 lines · Nishanth Menon

Enable Erratum 430973 similar to commit 5c86c5339c56 ("ARM:
omap2plus_defconfig: Enable ARM erratum 430973 for omap3") - Since multiple defconfigs can exist from various points of view (multi_v7, omap2plus etc.. it is always better to enable the erratum from the Kconfig selection point of view so that downstream kernels dont have to rediscover this all over again.

Quoted 4 lines

This should safe to select now. Note that proc-v7.S still does not do anything with multiarch to configure it. So the bootloader still needs to enable it, or it needs to be done in the machine init like n900 does.

mh I totally forgot about 430973. I still think [0] is the better solution. IIRC I never uploaded them to Russel's patchsystem, though :(

[0] http://comments.gmane.org/gmane.linux.kernel/2002603

Quoted 2 lines

So applying into omap-for-v4.7/fixes as it can solve some mysterious app crashers with armhf at least.

Only on N900 though:

$ git grep ARM_ERRATA_430973
arch/arm/Kconfig:config ARM_ERRATA_430973
arch/arm/configs/axm55xx_defconfig:CONFIG_ARM_ERRATA_430973=y
arch/arm/configs/omap2plus_defconfig:CONFIG_ARM_ERRATA_430973=y
arch/arm/mach-omap2/board-rx51.c:#ifdef CONFIG_ARM_ERRATA_430973
arch/arm/mach-omap2/pdata-quirks.c: if (IS_ENABLED(CONFIG_ARM_ERRATA_430973)) {
arch/arm/mm/proc-v7.S:#if defined(CONFIG_ARM_ERRATA_430973) && !defined(CONFIG_ARCH_MULTIPLATFORM)

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160609/7c3e20bf/attachment.sig>

maintainer
#3 lore raw
Quoted 16 lines · Sebastian Reichel

Hi,

Quoted 8 lines · Tony Lindgren
Quoted 6 lines · Nishanth Menon

Enable Erratum 430973 similar to commit 5c86c5339c56 ("ARM:
omap2plus_defconfig: Enable ARM erratum 430973 for omap3") - Since multiple defconfigs can exist from various points of view (multi_v7, omap2plus etc.. it is always better to enable the erratum from the Kconfig selection point of view so that downstream kernels dont have to rediscover this all over again.

Quoted 4 lines

This should safe to select now. Note that proc-v7.S still does not do anything with multiarch to configure it. So the bootloader still needs to enable it, or it needs to be done in the machine init like n900 does.

Quoted 5 lines

mh I totally forgot about 430973. I still think [0] is the better solution. IIRC I never uploaded them to Russel's patchsystem, though :(

[0] http://comments.gmane.org/gmane.linux.kernel/2002603

Sure makes sense to me. Meanwhile, Nishanth's patch prevents hitting the same issue over and over.

Regards,

Tony