ARM: 6870/1: The mandatory barrier rmb() must be a dsb() in for device accesses
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Apr 2011 15:18:47 +0000 (16:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 May 2011 09:52:00 +0000 (10:52 +0100)
commita904f5f9eb7a55baacb2f4c1423cac8a8eb78a3a
treed3ada07264a900601f8e610f9270b5319a6631d4
parent2af68df02fe5ccd644f4312ba2401996f52faab3
ARM: 6870/1: The mandatory barrier rmb() must be a dsb() in for device accesses

Since mandatory barriers may be used (explicitly or implicitly via readl
etc.) to ensure the ordering between Device and Normal memory accesses,
a DMB is not enough. This patch converts it to a DSB.

Cc: Colin Cross <ccross@android.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/system.h
arch/arm/mach-realview/include/mach/barriers.h
arch/arm/mach-tegra/include/mach/barriers.h