]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7ee042cc8deea0a1f5f9d3bf8635c46e0409b4c
treeddb7910c8bc242787b6638f75baa11461593850c
parente2ac7c25cce98a5ea764c82c72ab7b35f3e4a5bf
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