diff options
author | Daniel Kiss <[email protected]> | 2021-03-11 19:23:07 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-03-18 14:23:19 +0000 |
commit | 6e94095c5566c946a487fa1f7212b60699fb52c5 (patch) | |
tree | 9df29f49a686782e5e1202a0aaacd10a52c34e8c /arch/arm64/kvm/reset.c | |
parent | 8c8010d69c1322734a272eb95dbbf42b5190e565 (diff) |
KVM: arm64: Enable SVE support for nVHE
Now that KVM is equipped to deal with SVE on nVHE, remove the code
preventing it from being used as well as the bits of documentation
that were mentioning the incompatibility.
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Daniel Kiss <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'arch/arm64/kvm/reset.c')
-rw-r--r-- | arch/arm64/kvm/reset.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c index 47f3f035f3ea..f08b1e7ebf68 100644 --- a/arch/arm64/kvm/reset.c +++ b/arch/arm64/kvm/reset.c @@ -74,10 +74,6 @@ static int kvm_vcpu_enable_sve(struct kvm_vcpu *vcpu) if (!system_supports_sve()) return -EINVAL; - /* Verify that KVM startup enforced this when SVE was detected: */ - if (WARN_ON(!has_vhe())) - return -EINVAL; - vcpu->arch.sve_max_vl = kvm_sve_max_vl; /* |