ARM: Fix errata 411920 workarounds
commitdf71dfd4ca01130f98d9dbfab76c440d72a177c6
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Oct 2009 21:36:36 +0000 (24 22:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Oct 2009 19:13:09 +0000 (29 19:13 +0000)
tree5050d23a67be5fc5fabd4e6d96ac89786fb2a9c9
parent657e12fd388899502d47f9f6f9d276ec9ced8add
ARM: Fix errata 411920 workarounds

Errata 411920 indicates that any "invalidate entire instruction cache"
operation can fail if the right conditions are present.  This is not
limited just to those operations in flush.c, but elsewhere.  Place the
workaround in the already existing __flush_icache_all() function
instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h
arch/arm/mm/context.c
arch/arm/mm/flush.c