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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 9 May 2014 16:03:15 +0000 (17:03 +0100)
commit98f7685ee69f871ba991089cb9685f0da07517ea
treef62bfc6c13d2e54c70349f47f85438f8d596fe36
parentfa48e6f780a681cdbc7820e33259edfe1a79b9e3
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>
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
arch/arm64/kvm/sys_regs.c