arm64: Use __tlbi() macros in KVM code
authorChristopher Covington <cov@codeaurora.org>
Wed, 25 Jan 2017 15:52:31 +0000 (10:52 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 27 Jan 2017 13:52:34 +0000 (13:52 +0000)
commitfa715319c11f7f94ae3d19efb9c2cd69fa933f48
tree56aa9fbf7d6ada0dc96b0a0bb77b05347d5f5368
parentea5f9d1a69654dd5bf4d7dc60278b91d354afc64
arm64: Use __tlbi() macros in KVM code

Refactor the KVM code to use the __tlbi macros, which will allow an errata
workaround that repeats tlbi dsb sequences to only change one location.
This is not intended to change the generated assembly and comparing before
and after vmlinux objdump shows no functional changes.

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kvm/hyp/tlb.c