Re: [PATCH v3 2/8] KVM: arm64: Rework detection of SVE, !VHE systems

2018-12-10 Thread Will Deacon
On Mon, Dec 10, 2018 at 10:28:05AM +, Marc Zyngier wrote: > On 10/12/2018 10:13, Christoffer Dall wrote: > > On Thu, Dec 06, 2018 at 05:31:20PM +, Marc Zyngier wrote: > >> diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c > >> index 23774970c9df..1db4c15edcdd 100644 > >> ---

Re: [PATCH v3 2/8] KVM: arm64: Rework detection of SVE, !VHE systems

2018-12-10 Thread Marc Zyngier
On 10/12/2018 10:13, Christoffer Dall wrote: > On Thu, Dec 06, 2018 at 05:31:20PM +, Marc Zyngier wrote: >> An SVE system is so far the only case where we mandate VHE. As we're >> starting to grow this requirements, let's slightly rework the way we >> deal with that situation, allowing for

Re: [PATCH v3 2/8] KVM: arm64: Rework detection of SVE, !VHE systems

2018-12-10 Thread Christoffer Dall
On Thu, Dec 06, 2018 at 05:31:20PM +, Marc Zyngier wrote: > An SVE system is so far the only case where we mandate VHE. As we're > starting to grow this requirements, let's slightly rework the way we > deal with that situation, allowing for easy extension of this check. > > Signed-off-by:

[PATCH v3 2/8] KVM: arm64: Rework detection of SVE, !VHE systems

2018-12-06 Thread Marc Zyngier
An SVE system is so far the only case where we mandate VHE. As we're starting to grow this requirements, let's slightly rework the way we deal with that situation, allowing for easy extension of this check. Signed-off-by: Marc Zyngier --- arch/arm/include/asm/kvm_host.h | 2 +-