aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-06-12 05:03:30 -0400
committerWill Deacon <will.deacon@arm.com>2013-08-12 07:25:46 -0400
commit6af396a6b6c698eb3834184518fc9a59bc22c817 (patch)
tree95c6e58ecf7cd334a5476e14a2fee9d88b8f12b5 /arch/arm/include
parent9781aa8adbc13b9960b5a3a7353efc57eeb3697d (diff)
ARM: cacheflush: use -ishst dsb variant for ensuring flush completion
flush_cache_vmap contains a dsb to ensure that any cacheflushing operations to flush out newly written ptes have completed. This patch adds the -ishst option to the dsb, since that is all that is required for completing cacheflushing in the inner-shareable domain. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/cacheflush.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 17d0ae8672fa..04d73262e003 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -352,7 +352,7 @@ static inline void flush_cache_vmap(unsigned long start, unsigned long end)
352 * set_pte_at() called from vmap_pte_range() does not 352 * set_pte_at() called from vmap_pte_range() does not
353 * have a DSB after cleaning the cache line. 353 * have a DSB after cleaning the cache line.
354 */ 354 */
355 dsb(); 355 dsb(ishst);
356} 356}
357 357
358static inline void flush_cache_vunmap(unsigned long start, unsigned long end) 358static inline void flush_cache_vunmap(unsigned long start, unsigned long end)