[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1392109811-8525-1-git-send-email-vkale@apm.com>
Date: Tue, 11 Feb 2014 14:40:11 +0530
From: Vinayak Kale <vkale@....com>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: stable@...r.kernel.org, linux@....linux.org.uk, nico@...aro.org,
catalin.marinas@....com, Dave.Martin@....com, will.deacon@....com,
dirk.behme@...il.com, Vinayak Kale <vkale@....com>
Subject: [PATCH RESEND] arm: 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 <vkale@....com>
Acked-by: Catalin Marinas <catalin.marinas@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists