ARM: 6416/1: errata: faulty hazard checking in the Store Buffer may lead to data...
commit475d92fc6e72cd123dc5dbb9e70cdb80b0cfdf2d
authorWill Deacon <will.deacon@arm.com>
Tue, 28 Sep 2010 13:02:02 +0000 (28 14:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Oct 2010 18:20:14 +0000 (4 19:20 +0100)
treec2c3e98575957a0eab1492da35921c982c5d2e1e
parentc6ea21e35bf3691cad59647c771e6606067f627d
ARM: 6416/1: errata: faulty hazard checking in the Store Buffer may lead to data corruption

On the r2p0, r2p1 and r2p2 versions of the Cortex-A9, data corruption
can occur under very rare conditions due to a store buffer optimisation.

This workaround sets a bit in the diagnostic register of the Cortex-A9,
disabling the optimisation and preventing the problem from occurring.

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