|
From: | Richard Henderson |
Subject: | Re: [Qemu-arm] [PATCH v2 11/14] target/arm/kvm64: max cpu: Enable SVE when available |
Date: | Wed, 26 Jun 2019 13:09:45 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 6/21/19 6:34 PM, Andrew Jones wrote: > @@ -675,6 +689,11 @@ static void aarch64_max_initfn(Object *obj) > > if (kvm_enabled()) { > kvm_arm_set_cpu_features_from_host(cpu); > + /* > + * KVM doesn't yet support the sve-max-vq property, but > + * setting cpu->sve_max_vq is also used to turn SVE on. > + */ > + cpu->sve_max_vq = ARM_SVE_INIT; Can we support this value with KVM_GET/SET_ONE_REG on ZCR_EL2? (IIRC KVM requires VHE to support SVE, so the host is always EL2 and the guest is always EL1.) Or do we need to probe this via normal userland prctl? Or am I getting ahead of the patches to follow? r~
[Prev in Thread] | Current Thread | [Next in Thread] |