Re: [libvirt] [RFC v2 REPOST] arm64: KVM: KVM API extensions for SVE

2018-02-07 Thread Dave Martin
On Wed, Feb 07, 2018 at 05:17:50PM +0100, Christoffer Dall wrote: > On Wed, Feb 07, 2018 at 03:34:03PM +0000, Dave Martin wrote: > > On Wed, Feb 07, 2018 at 03:58:31PM +0100, Christoffer Dall wrote: > > > On Wed, Feb 07, 2018 at 11:33:28AM +, Dave Martin wrote: [...] >

Re: [libvirt] [RFC v2 REPOST] arm64: KVM: KVM API extensions for SVE

2018-02-07 Thread Dave Martin
On Wed, Feb 07, 2018 at 03:58:31PM +0100, Christoffer Dall wrote: > On Wed, Feb 07, 2018 at 11:33:28AM +0000, Dave Martin wrote: [...] > > What if KVM_ARM_SVE_SET_VLS() were to yield 0 if the exact requested set > > of VLs was configured, -ERANGE if some subset was configur

Re: [libvirt] [RFC v2 REPOST] arm64: KVM: KVM API extensions for SVE

2018-02-07 Thread Dave Martin
On Tue, Feb 06, 2018 at 02:17:57PM +0100, Christoffer Dall wrote: > On Tue, Feb 06, 2018 at 11:43:16AM +0000, Dave Martin wrote: > > On Mon, Feb 05, 2018 at 05:13:08PM +0100, Christoffer Dall wrote: > > > Hi Dave, > > > > > > On Fri, Jan 26, 2018 at

Re: [libvirt] [RFC v2 REPOST] arm64: KVM: KVM API extensions for SVE

2018-02-06 Thread Dave Martin
On Mon, Feb 05, 2018 at 05:13:08PM +0100, Christoffer Dall wrote: > Hi Dave, > > On Fri, Jan 26, 2018 at 05:28:49PM +0000, Dave Martin wrote: > > New feature KVM_ARM_VCPU_SVE: > > > > * enables exposure of SVE to the guest > > > > * enables visibility

[libvirt] [RFC v2 REPOST] arm64: KVM: KVM API extensions for SVE

2018-01-26 Thread Dave Martin
Hi all, Reposting this to give people another chance to comment before I move ahead... ---8<--- Here's a second, slightly more complete stab at the KVM API extensions for SVE. I haven't started implementing in earnest yet, so any comments at this stage would be very helpful. [libvir-list read

[libvirt] [RFC v2] arm64: KVM: KVM API extensions for SVE

2017-12-13 Thread Dave Martin
Hi all, Here's a second, slightly more complete stab at the KVM API extensions for SVE. I haven't started implementing in earnest yet, so any comments at this stage would be very helpful. [libvir-list readers: this is a proposal for extending the KVM API on AArch64 systems to support the Scalab

Re: [libvirt] [RFC v2] arm64: KVM: KVM API extensions for SVE

2017-12-13 Thread Dave Martin
On Wed, Dec 13, 2017 at 04:58:16PM +, Peter Maydell wrote: > On 13 December 2017 at 16:55, Dave Martin wrote: > > Vector length control: > > > > Some means is needed to determine the set of vector lengths visible > > to guest software running on a vcpu. > > &g