Commit c943f5f9 authored by Vinayak Kale's avatar Vinayak Kale Committed by Greg Kroah-Hartman

ARM: 7957/1: add DSB after icache flush in __flush_icache_all()

commit 39544ac9 upstream.

Add DSB after icache flush to complete the cache maintenance operation.
Signed-off-by: default avatarVinayak Kale <vkale@apm.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1266f2d3
...@@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *, ...@@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,
static inline void __flush_icache_all(void) static inline void __flush_icache_all(void)
{ {
__flush_icache_preferred(); __flush_icache_preferred();
dsb();
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment