]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: kvm: use inner-shareable barriers for inner-shareable maintenance
authorWill Deacon <will.deacon@arm.com>
Fri, 2 May 2014 15:24:14 +0000 (16:24 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 30 Apr 2015 09:15:06 +0000 (11:15 +0200)
commit1ebc41a91ab4179ea706464f5a50ebc018ae2f39
tree4f5effba82e2e1a649c89b8626e0cf40a6d704b4
parent68779c62b1d0d0af82077e6ff03140e3fd24f940
arm64: kvm: use inner-shareable barriers for inner-shareable maintenance

commit ee9e101c11478680d579bd20bb38a4d3e2514fe3 upstream.

In order to ensure completion of inner-shareable maintenance instructions
(cache and TLB) on AArch64, we can use the -ish suffix to the dsb
instruction.

This patch relaxes our dsb sy instructions to dsb ish where possible.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm64/kvm/hyp.S