ARM: errata: Workaround for Cortex-A12 erratum 821420
authorHuang, Tao <huangtao@rock-chips.com>
Tue, 6 Jan 2015 02:08:16 +0000 (10:08 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 6 Jan 2015 04:25:21 +0000 (12:25 +0800)
commit452b07f87989cac72366a1853f287d17525babb3
treecd056dbf0e71f63fd518fdbbe1015970fb5d3a35
parentbb70e880992c1c4f98bc65b39f6b58bed72c300d
ARM: errata: Workaround for Cortex-A12 erratum 821420

On Cortex-A12 (r0p0, r0p1), in very rare timing conditions, a sequence of
VMOV to Core registers instructions, for which the second one is in the
shadow of a branch or abort, can lead to a deadlock when the VMOV
instructions are issued out-of-order. This workaround setting bit 1 of
the Internal Feature Register prevents the erratum.

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm/Kconfig
arch/arm/mm/proc-v7.S