Re: [PATCH v2 24/28] arm64/sve: KVM: Hide SVE from CPU features exposed to guests

2017-09-14 Thread Alex Bennée
Dave Martin writes: > KVM guests cannot currently use SVE, because SVE is always > configured to trap to EL2. > > However, a guest that sees SVE reported as present in > ID_AA64PFR0_EL1 may legitimately expect that SVE works and try to > use it. Instead of working, the guest will receive an inj

[PATCH v2 24/28] arm64/sve: KVM: Hide SVE from CPU features exposed to guests

2017-08-31 Thread Dave Martin
KVM guests cannot currently use SVE, because SVE is always configured to trap to EL2. However, a guest that sees SVE reported as present in ID_AA64PFR0_EL1 may legitimately expect that SVE works and try to use it. Instead of working, the guest will receive an injected undef exception, which may c