Skip to content
Snippets Groups Projects
Commit c616a0df authored by Nishanth Menon's avatar Nishanth Menon Committed by Tom Rini
Browse files

ARM: Introduce erratum workaround for 798870


Add workaround for Cortex-A15 ARM erratum 798870 which says
"If back-to-back speculative cache line fills (fill A and fill B) are
issued from the L1 data cache of a CPU to the L2 cache, the second
request (fill B) is then cancelled, and the second request would have
detected a hazard against a recent write or eviction (write B) to the
same cache line as fill B then the L2 logic might deadlock."

Implementations for SoC families such as Exynos, OMAP5/DRA7 etc
will be widely different.

Every SoC has slightly different manner of setting up access to L2ACLR
and similar registers since the Secure Monitor handling of Secure
Monitor Call(smc) is diverse. Hence an weak function is introduced
which may be overriden to implement SoC specific accessor implementation.

Based on ARM errata Document revision 18.0 (22 Nov 2013)

Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Tested-by: default avatarMatt Porter <mporter@konsulko.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent fb1bf408
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment