commit | d63d975a71b332df36cc802e6e77a462af6b9fef | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Fri Sep 18 14:08:54 2020 +0100 |
committer | Will Deacon <will@kernel.org> | Tue Sep 29 16:08:17 2020 +0100 |
tree | 6d9260546f2c21449a646437c281c74001765b15 | |
parent | 7311467702710cc30ac4e3a6c6670a766e7667f9 [diff] |
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>