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: v3.14-rc4~31^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=39544ac9df20f73e49fc6b9ac19ff533388c82c0;hp=e83b366487b5582274374f8226e489cb214ae5a6;p=linux-block.git ARM: 7957/1: add DSB after icache flush in __flush_icache_all() Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale Acked-by: Catalin Marinas Cc: Signed-off-by: Russell King --- diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index e9a49fe0284e..8b8b61685a34 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(); } /*