]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: Introduce erratum workaround for 798870
authorNishanth Menon <nm@ti.com>
Mon, 9 Mar 2015 22:11:59 +0000 (17:11 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:46:49 +0000 (21:46 +0200)
commit6ac6f46e4b504ea3f91f37995d6e2c71a84aaa51
tree1bdf0ec65e450b04e30d12c25db04df55996642c
parent69025bf8b5432121e8744cdf18e884fc0bbe8e9c
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: Nishanth Menon <nm@ti.com>
Tested-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
README
arch/arm/cpu/armv7/Makefile