Re: [RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-07-25 Thread Dave Martin
On Wed, Jul 25, 2018 at 03:43:59PM +0200, Andrew Jones wrote: > On Wed, Jul 25, 2018 at 12:41:06PM +0100, Dave Martin wrote: [...] > > The main purpose of system_supports_sve() here is to shadow the check on > > vcpu_arch->flags with a static branch. If the system doesn't support > > SVE, we

Re: [RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-07-25 Thread Andrew Jones
On Wed, Jul 25, 2018 at 12:41:06PM +0100, Dave Martin wrote: > On Thu, Jul 19, 2018 at 01:08:10PM +0200, Andrew Jones wrote: > > On Thu, Jun 21, 2018 at 03:57:34PM +0100, Dave Martin wrote: > > > Since SVE will be enabled or disabled on a per-vcpu basis, a flag > > > is needed in order to track

Re: [RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-07-25 Thread Dave Martin
On Thu, Jul 19, 2018 at 05:02:44PM +0200, Andrew Jones wrote: > On Thu, Jun 21, 2018 at 03:57:34PM +0100, Dave Martin wrote: > > Since SVE will be enabled or disabled on a per-vcpu basis, a flag > > is needed in order to track which vcpus have it enabled. > > > > This patch adds a suitable flag

Re: [RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-07-25 Thread Dave Martin
On Thu, Jul 19, 2018 at 01:08:10PM +0200, Andrew Jones wrote: > On Thu, Jun 21, 2018 at 03:57:34PM +0100, Dave Martin wrote: > > Since SVE will be enabled or disabled on a per-vcpu basis, a flag > > is needed in order to track which vcpus have it enabled. > > > > This patch adds a suitable flag

Re: [RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-07-19 Thread Andrew Jones
On Thu, Jun 21, 2018 at 03:57:34PM +0100, Dave Martin wrote: > Since SVE will be enabled or disabled on a per-vcpu basis, a flag > is needed in order to track which vcpus have it enabled. > > This patch adds a suitable flag and a helper for checking it. > > Signed-off-by: Dave Martin > --- >

Re: [RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-07-19 Thread Andrew Jones
On Thu, Jun 21, 2018 at 03:57:34PM +0100, Dave Martin wrote: > Since SVE will be enabled or disabled on a per-vcpu basis, a flag > is needed in order to track which vcpus have it enabled. > > This patch adds a suitable flag and a helper for checking it. > > Signed-off-by: Dave Martin > --- >

[RFC PATCH 10/16] KVM: arm64: Add a vcpu flag to control SVE visibility for the guest

2018-06-21 Thread Dave Martin
Since SVE will be enabled or disabled on a per-vcpu basis, a flag is needed in order to track which vcpus have it enabled. This patch adds a suitable flag and a helper for checking it. Signed-off-by: Dave Martin --- arch/arm64/include/asm/kvm_host.h | 8 1 file changed, 8