From: Vinayak Kale Date: Wed, 12 Feb 2014 06:30:01 +0000 (+0100) Subject: ARM: 7957/1: add DSB after icache flush in __flush_icache_all() X-Git-Tag: rel_imx_3.10.31_1.1.0_alpha~180 X-Git-Url: http://git.agner.ch/gitweb/?a=commitdiff_plain;h=c0453621dc8cc83db9771f64cce3b73a44599c35;p=linux.git ARM: 7957/1: add DSB after icache flush in __flush_icache_all() commit 39544ac9df20f73e49fc6b9ac19ff533388c82c0 upstream. Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale Acked-by: Catalin Marinas Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index 17d0ae8672fa..a25e62d2de6e 100644 --- a/arch/arm/include/asm/cacheflush.h +++ b/arch/arm/include/asm/cacheflush.h @@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *, static inline void __flush_icache_all(void) { __flush_icache_preferred(); + dsb(); } /*