From: Will Deacon Date: Thu, 23 May 2013 17:24:21 +0000 (+0100) Subject: ARM: mm: remove redundant dsb() prior to range TLB invalidation X-Git-Tag: firefly_0821_release~176^2~5416^2^3~1^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=792a843a9f353d3e2474b6f5057b7eaecba41675;p=firefly-linux-kernel-4.4.55.git ARM: mm: remove redundant dsb() prior to range TLB invalidation The kernel TLB range invalidation functions already contain dsb instructions before and after the maintenance, so there is no need to introduce additional barriers. Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon --- diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 7f9b1798c6cf..0c17f69a8286 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -455,7 +455,6 @@ static void __dma_remap(struct page *page, size_t size, pgprot_t prot) unsigned end = start + size; apply_to_page_range(&init_mm, start, size, __dma_update_pte, &prot); - dsb(); flush_tlb_kernel_range(start, end); }