ARM: errata: Workaround for Cortex-A12 erratum 818325
author黄涛 <huangtao@rock-chips.com>
Mon, 30 Jun 2014 12:21:22 +0000 (20:21 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 30 Jun 2014 12:28:24 +0000 (20:28 +0800)
commita7796adfa79e34640a51764b450f58327426a383
tree2da2f9ee69f776243468f028ace5c8f3dfc0cfa2
parent107228517654a49aff48626885e7c89d0a96e4d7
ARM: errata: Workaround for Cortex-A12 erratum 818325

On Cortex-A12 (r0p0..r0p1-00lac0-rc11), when a CPU executes a sequence of
two conditional store instructions with opposite condition code and
updating the same register, the system might enter a deadlock if the
second conditional instruction is an UNPREDICTABLE STR or STM
instruction. This workaround setting bit[12] of the Feature Register
prevents the erratum. This bit disables an optimisation applied to a
sequence of 2 instructions that use opposing condition codes.
arch/arm/Kconfig
arch/arm/mm/proc-v7.S