ARM: Introduce erratum workaround for 454179
authorNishanth Menon <nm@ti.com>
Mon, 9 Mar 2015 22:12:00 +0000 (17:12 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 13 Mar 2015 13:28:48 +0000 (09:28 -0400)
commitb45c48a7c30734272371fede01e96f499a314664
treef419e13accf870c448e231c9702b656957767aef
parentc616a0df297e886f09bf88523bcd03a86bdf8704
ARM: Introduce erratum workaround for 454179

454179: Stale prediction may inhibit target address misprediction on
next predicted taken branch
Impacts: Every Cortex-A8 processors with revision lower than r2p1
Work around:  Set IBE and disable branch size mispredict to 1

Also provide a hook for SoC specific handling to take place if needed.

Based on ARM errata Document revision 20.0 (13 Nov 2010)

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/cp15.c
arch/arm/cpu/armv7/start.S
arch/arm/include/asm/armv7.h