linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: add DSB after icache flush in __flush_icache_all()
@ 2014-02-05  9:33 Vinayak Kale
  2014-02-05 13:26 ` Catalin Marinas
  2014-02-09  6:09 ` Dirk Behme
  0 siblings, 2 replies; 6+ messages in thread
From: Vinayak Kale @ 2014-02-05  9:33 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Vinayak Kale <vkale@apm.com>
---

PS:
- This patch is tested for ARM-v7.

 arch/arm/include/asm/cacheflush.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index ee753f1..ab91ebb 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();
 }
 
 /*
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-11  8:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05  9:33 [PATCH] arm: add DSB after icache flush in __flush_icache_all() Vinayak Kale
2014-02-05 13:26 ` Catalin Marinas
2014-02-09  6:09 ` Dirk Behme
2014-02-10 10:43   ` Catalin Marinas
2014-02-10 17:07     ` Dirk Behme
2014-02-11  8:59       ` Vinayak Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).