2503a5ecd8
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>
9 lines
248 B
C
9 lines
248 B
C
/*
|
|
* Barriers redefined for RealView ARM11MPCore platforms with L220 cache
|
|
* controller to work around hardware errata causing the outer_sync()
|
|
* operation to deadlock the system.
|
|
*/
|
|
#define mb() dsb()
|
|
#define rmb() dmb()
|
|
#define wmb() mb()
|