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)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:46 +0000 (17:18 +0200)
commitccc916d9aac9d95baab922ab859f0ef37bb22558
treeb4e7d6e643eeddeddb07df498d2e33361f78ccea
parent5ab6e0ee8a2375651052456289f6d397f78f737e
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: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/sys_regs.c