arm64: barriers: make use of barrier options with explicit barriers
authorWill Deacon <will.deacon@arm.com>
Fri, 2 May 2014 15:24:10 +0000 (16:24 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 23:10:33 +0000 (00:10 +0100)
commit2b3a92c809be30cc706deaf808f31f98d2d917db
tree8b568c08f744d2cbc286ab45be1aac15f78a7cd6
parentf706043a1bbb304424643db83d21630bbc08888b
arm64: barriers: make use of barrier options with explicit barriers

When calling our low-level barrier macros directly, we can often suffice
with more relaxed behaviour than the default "all accesses, full system"
option.

This patch updates the users of dsb() to specify the option which they
actually require.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 98f7685ee69f871ba991089cb9685f0da07517ea)
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
arch/arm64/kvm/sys_regs.c
arch/arm64/include/asm/barrier.h
arch/arm64/include/asm/cacheflush.h
arch/arm64/include/asm/pgtable.h
arch/arm64/include/asm/tlbflush.h
arch/arm64/kernel/process.c