]> git.hungrycats.org Git - linux/commitdiff
ARM: 7957/1: add DSB after icache flush in __flush_icache_all()
authorVinayak Kale <vkale@apm.com>
Wed, 12 Feb 2014 06:30:01 +0000 (07:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Mar 2014 23:09:57 +0000 (16:09 -0700)
commit 39544ac9df20f73e49fc6b9ac19ff533388c82c0 upstream.

Add DSB after icache flush to complete the cache maintenance operation.

Signed-off-by: Vinayak Kale <vkale@apm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/cacheflush.h

index 0a5e8a512ee2b60f73b66b73543a8cf5996a1b1d..420b7d20d520e4667ea9fbb0bf7e3df4a9e84254 100644 (file)
@@ -202,6 +202,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,
 static inline void __flush_icache_all(void)
 {
        __flush_icache_preferred();
+       dsb();
 }
 
 #define flush_cache_all()              __cpuc_flush_kern_all()