Skip to contentSkip to conversation

ARM: DRA7: Enable Cortex A15 errata 798181

PATCH In review Praneeth Bajjuri 3 participants 5 messages Mar 25, 2015 – Mar 27, 2015

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

PATCH 1/1 ARM: DRA7: Enable Cortex A15 errata 798181

ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build.

DRA7xx is based on Cortex-A15 r2p2 revision.

ARM Errata extract and workaround information is as below.

On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. The ARM_ERRATA_798181 option enables the Linux kernel workaround for this erratum which sends an IPI to the CPUs that are running the same ASID as the one being invalidated.

---
 arch/arm/mach-omap2/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +1 -0
index c7d8d86..3e4b4ae 100644
@@ -69,6 +69,7 @@ config SOC_DRA7XX
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
 	select IRQ_CROSSBAR
+	select ARM_ERRATA_798181 if SMP
 
 config ARCH_OMAP2PLUS
 	bool
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 24 lines · Praneeth Bajjuri

ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build.

DRA7xx is based on Cortex-A15 r2p2 revision.

ARM Errata extract and workaround information is as below.

On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. The ARM_ERRATA_798181 option enables the Linux kernel workaround for this erratum which sends an IPI to the CPUs that are running the same ASID as the one being invalidated.

---
 arch/arm/mach-omap2/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +0 -0
index c7d8d86..3e4b4ae 100644

arch/arm/mach-omap2/Kconfig config SOC_DRA7XX · line 75

Quoted 7 lines
arch/arm/mach-omap2/Kconfig +1 -0
@@ -69,6 +69,7 @@ config SOC_DRA7XX
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
 	select IRQ_CROSSBAR
+	select ARM_ERRATA_798181 if SMP
 
 config ARCH_OMAP2PLUS
 	bool

Gee thanks and Apologies on missing this patch.

Seen on DRA7 only builds, so kinda slipped radar a bit.. verified to apply on v4.0-rc1

Signature · 2 lines
Regards,
Nishanth Menon
maintainer
#2 lore raw
Quoted 34 lines · Nishanth Menon
Quoted 24 lines · Praneeth Bajjuri

ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build.

DRA7xx is based on Cortex-A15 r2p2 revision.

ARM Errata extract and workaround information is as below.

On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. The ARM_ERRATA_798181 option enables the Linux kernel workaround for this erratum which sends an IPI to the CPUs that are running the same ASID as the one being invalidated.

---
 arch/arm/mach-omap2/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +0 -0
index c7d8d86..3e4b4ae 100644

arch/arm/mach-omap2/Kconfig config SOC_DRA7XX · line 75

Quoted 7 lines
arch/arm/mach-omap2/Kconfig +1 -0
@@ -69,6 +69,7 @@ config SOC_DRA7XX
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
 	select IRQ_CROSSBAR
+	select ARM_ERRATA_798181 if SMP
 
 config ARCH_OMAP2PLUS
 	bool

Gee thanks and Apologies on missing this patch.

Quoted 4 lines

Seen on DRA7 only builds, so kinda slipped radar a bit.. verified to apply on v4.0-rc1

Is this needed as a fix for v4.0-rc series or can this wait for v4.1?

Regards,

Tony

#3 lore raw
Quoted 35 lines · Tony Lindgren
Quoted 34 lines · Nishanth Menon
Quoted 24 lines · Praneeth Bajjuri

ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build.

DRA7xx is based on Cortex-A15 r2p2 revision.

ARM Errata extract and workaround information is as below.

On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. The ARM_ERRATA_798181 option enables the Linux kernel workaround for this erratum which sends an IPI to the CPUs that are running the same ASID as the one being invalidated.

---
 arch/arm/mach-omap2/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +0 -0
index c7d8d86..3e4b4ae 100644

arch/arm/mach-omap2/Kconfig config SOC_DRA7XX · line 75

Quoted 7 lines
arch/arm/mach-omap2/Kconfig +1 -0
@@ -69,6 +69,7 @@ config SOC_DRA7XX
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
 	select IRQ_CROSSBAR
+	select ARM_ERRATA_798181 if SMP
 
 config ARCH_OMAP2PLUS
 	bool

Gee thanks and Apologies on missing this patch.

Quoted 6 lines
Quoted 4 lines

Seen on DRA7 only builds, so kinda slipped radar a bit.. verified to apply on v4.0-rc1

Is this needed as a fix for v4.0-rc series or can this wait for v4.1?

I think we can wait till 4.1

maintainer
#4 lore raw
Quoted 36 lines · Nishanth Menon
Quoted 35 lines · Tony Lindgren
Quoted 34 lines · Nishanth Menon
Quoted 24 lines · Praneeth Bajjuri

ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build.

DRA7xx is based on Cortex-A15 r2p2 revision.

ARM Errata extract and workaround information is as below.

On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. The ARM_ERRATA_798181 option enables the Linux kernel workaround for this erratum which sends an IPI to the CPUs that are running the same ASID as the one being invalidated.

---
 arch/arm/mach-omap2/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +0 -0
index c7d8d86..3e4b4ae 100644

arch/arm/mach-omap2/Kconfig config SOC_DRA7XX · line 75

Quoted 7 lines
arch/arm/mach-omap2/Kconfig +1 -0
@@ -69,6 +69,7 @@ config SOC_DRA7XX
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
 	select IRQ_CROSSBAR
+	select ARM_ERRATA_798181 if SMP
 
 config ARCH_OMAP2PLUS
 	bool

Gee thanks and Apologies on missing this patch.

Quoted 7 lines
Quoted 6 lines
Quoted 4 lines

Seen on DRA7 only builds, so kinda slipped radar a bit.. verified to apply on v4.0-rc1

Is this needed as a fix for v4.0-rc series or can this wait for v4.1?

I think we can wait till 4.1

OK thanks applying into omap-for-v4.1/fixes-not-urgent.

Tony