KVM: arm64: Simplify __kvm_enable_ssbs()
authorMarc Zyngier <maz@kernel.org>
Wed, 21 Oct 2020 20:52:54 +0000 (21:52 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 27 Nov 2020 11:32:44 +0000 (11:32 +0000)
commit29052f1b92f2bcb0419c544459f4c919bfb20898
treeddb7910c8bc242787b6638f75baa11461593850c
parent68b824e428c5fb5c3dc5ef80b1543e767534b58e
KVM: arm64: Simplify __kvm_enable_ssbs()

Move the setting of SSBS directly into the HVC handler, using
the C helpers rather than the inline asssembly code.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/sysreg.h
arch/arm64/kvm/hyp/nvhe/hyp-main.c
arch/arm64/kvm/hyp/nvhe/sysreg-sr.c