Subject: [PATCH] ARM: DRA7: Enable Cortex A15 errata 798181

From: [email-masked] (Tony Lindgren)
Date: Fri, 27 Mar 2015 14:38:49 -0700

* Nishanth Menon <[email-masked]> [150327 13:35]:
> On 03/26/2015 12:35 PM, Tony Lindgren wrote:
> > * Nishanth Menon <[email-masked]> [150325 16:32]:
> >> On 03/25/2015 06:25 PM, Praneeth Bajjuri wrote:
> >>> 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.
> >>>
> >>> Signed-off-by: Praneeth Bajjuri <[email-masked]>
> >>> ---
> >>>  arch/arm/mach-omap2/Kconfig |    1 +
> >>>  1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> >>> index c7d8d86..3e4b4ae 100644
> >>> --- a/arch/arm/mach-omap2/Kconfig
> >>> +++ b/arch/arm/mach-omap2/Kconfig
> >>> @@ -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.
> >>
> >> Acked-by: Nishanth Menon <[email-masked]>
> >>
> >> 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