]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: DRA7 / OMAP5: Add workaround for ARM errata 798870
authorPraveen Rao <prao@ti.com>
Mon, 9 Mar 2015 22:12:06 +0000 (17:12 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:33:55 +0000 (14:33 +0200)
commitb7e22aa60e04b62e55bb4a0344307849bb37eb70
tree7c0e0ae4c19dff5778f2d9dbfddc78d276b280d6
parent30733ef6a8fe5716c64d6427d3300981041316e4
ARM: DRA7 / OMAP5: Add workaround for ARM errata 798870

This patch enables the workaround for ARM errata 798870 for OMAP5 /
DRA7 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."

An l2auxctlr accessor implementation for OMAP5 and DRA7 is introduced
here as well.

Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap5/hwinit.c
arch/arm/include/asm/arch-omap5/sys_proto.h
include/configs/ti_omap5_common.h