ARM: 6201/1: RealView: Do not use outer_sync() on ARM11MPCore boards with L220
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 1 Jul 2010 12:21:47 +0000 (13:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 2 Jul 2010 09:10:09 +0000 (10:10 +0100)
commit2503a5ecd86c002506001eba432c524ea009fe7f
tree02f4646b29de1194154db5bd387298c222ffaf59
parent00952d8f14447fccfb9560d98999f7489d4fd2df
ARM: 6201/1: RealView: Do not use outer_sync() on ARM11MPCore boards with L220

RealView boards with certain revisions of the L220 cache controller (ARM11*
processors only) may have issues (hardware deadlock) with the recent changes to
the mb() barrier implementation (DSB followed by an L2 cache sync). The patch
redefines the RealView ARM11MPCore mandatory barriers without the outer_sync()
call.

Cc: <stable@kernel.org>
Tested-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/Kconfig
arch/arm/mach-realview/include/mach/barriers.h [new file with mode: 0644]