Patchwork [2/3] ARM: mx3: Select ARM_ERRATA_411920

login
register
mail settings
Submitter Fabio Estevam
Date July 8, 2013, 5:58 p.m.
Message ID <1373306318-15604-2-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/257584/
State New
Headers show

Comments

Fabio Estevam - July 8, 2013, 5:58 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

ARM_ERRATA_411920 affects mx31 and mx35, so let's enable it:

ARM_ERRATA_411920:
	  Invalidation of the Instruction Cache operation can
	  fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
	  It does not affect the MPCore. This option enables the ARM Ltd.
	  recommended workaround.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
Alexander Shiyan - July 8, 2013, 6:06 p.m.
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> ARM_ERRATA_411920 affects mx31 and mx35, so let's enable it:
> 
> ARM_ERRATA_411920:
> 	  Invalidation of the Instruction Cache operation can
> 	  fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
> 	  It does not affect the MPCore. This option enables the ARM Ltd.
> 	  recommended workaround.

IMHO, enabling any errata for multiplatform kernel is not a good idea.

---

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index f864af2..a0a89c4 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -122,6 +122,7 @@  config SOC_IMX27
 
 config SOC_IMX31
 	bool
+	select ARM_ERRATA_411920
 	select CACHE_L2X0
 	select COMMON_CLK
 	select CPU_V6
@@ -132,6 +133,7 @@  config SOC_IMX31
 config SOC_IMX35
 	bool
 	select ARCH_MXC_IOMUX_V3
+	select ARM_ERRATA_411920
 	select CACHE_L2X0
 	select COMMON_CLK
 	select CPU_V6K