commit | b6749e20d5710c955fc6d4322f8fd98c915b2573 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Sun Sep 01 22:12:35 2019 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Mon Sep 09 18:16:32 2019 +0100 |
tree | 516de9ee7c60ed7456b00dbb64e823d47f8f9bd5 | |
parent | 92f35b751c71d14250a401246f2c792e3aa5b386 [diff] |
arm64: KVM: Drop hyp_alternate_select for checking for ARM64_WORKAROUND_834220 There is no reason for using hyp_alternate_select when checking for ARM64_WORKAROUND_834220, as each of the capabilities is also backed by a static key. Just replace the KVM-specific construct with cpus_have_const_cap(ARM64_WORKAROUND_834220). Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Christoffer Dall <christoffer.dall@arm.com> Reviewed-by: Andrew Jones <drjones@redhat.com>