]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Convert ARCH_WORKAROUND_2 to arm64_get_spectre_v4_state()
authorMarc Zyngier <maz@kernel.org>
Fri, 18 Sep 2020 13:08:54 +0000 (14:08 +0100)
committerWill Deacon <will@kernel.org>
Tue, 29 Sep 2020 15:08:17 +0000 (16:08 +0100)
commit23d40e63f3776705f7c6f9f34e04224a748893e4
tree6d9260546f2c21449a646437c281c74001765b15
parent32e10ab914649590fc89359e335c7ddc9cd897b9
KVM: arm64: Convert ARCH_WORKAROUND_2 to arm64_get_spectre_v4_state()

Convert the KVM WA2 code to using the Spectre infrastructure,
making the code much more readable. It also allows us to
take SSBS into account for the mitigation.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kvm/arm.c
arch/arm64/kvm/hypercalls.c
arch/arm64/kvm/psci.c