ARM: 6388/1: errata: DMB operation may be faulty
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Sep 2010 08:51:43 +0000 (09:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 17 Sep 2010 09:16:51 +0000 (10:16 +0100)
commit9f05027c7cb3cfe56a31892bd83391138d41a667
treeefe9361be8e1b8d78ff44ef13a1e46e1a4b9b23a
parent6491848d1ab246f6d243ddef25085fc1d836ff2c
ARM: 6388/1: errata: DMB operation may be faulty

On versions of the Cortex-A9 up to and including r2p2, under rare
circumstances, a DMB instruction between 2 write operations may not
ensure the correct visibility ordering of the 2 writes.

This workaround sets a bit in the diagnostic register of the Cortex-A9,
causing the DMB instruction to behave like a DSB, which functions
correctly on the affected cores.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mm/proc-v7.S