Re: [RFC PATCH 16/16] KVM: arm64/sve: Report and enable SVE API extensions for userspace

2018-08-07 Thread Christoffer Dall
On Tue, Aug 07, 2018 at 12:23:45PM +0100, Dave Martin wrote: > On Mon, Aug 06, 2018 at 03:41:33PM +0200, Christoffer Dall wrote: > > On Thu, Jul 26, 2018 at 02:18:02PM +0100, Dave Martin wrote: > > > On Wed, Jul 25, 2018 at 06:52:56PM +0200, Andrew Jones wrote: > > > > On Wed, Jul 25, 2018 at 04:27

Re: [RFC PATCH 12/16] KVM: arm64/sve: Context switch the SVE registers

2018-08-07 Thread Christoffer Dall
On Tue, Aug 07, 2018 at 12:15:26PM +0100, Dave Martin wrote: > On Mon, Aug 06, 2018 at 03:19:10PM +0200, Christoffer Dall wrote: > > On Thu, Jun 21, 2018 at 03:57:36PM +0100, Dave Martin wrote: > > > In order to give each vcpu its own view of the SVE registers, this > > > patch adds context storage

Re: [RFC PATCH 09/16] KVM: arm64: Allow ID registers to by dynamically read-as-zero

2018-08-07 Thread Christoffer Dall
On Tue, Aug 07, 2018 at 12:09:58PM +0100, Dave Martin wrote: > On Mon, Aug 06, 2018 at 03:03:24PM +0200, Christoffer Dall wrote: > > Hi Dave, > > > > I think there's a typo in the subject "to be" rather than "to by". > > > > On Thu, Jun 21, 2018 at 03:57:33PM +0100, Dave Martin wrote: > > > When

Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-08-07 Thread Christoffer Dall
On Thu, Jun 21, 2018 at 03:57:32PM +0100, Dave Martin wrote: > Some system registers may or may not logically exist for a vcpu > depending on whether certain architectural features are enabled for > the vcpu. > > In order to avoid spuriously emulating access to these registers > when they should n

Re: [RFC PATCH 16/16] KVM: arm64/sve: Report and enable SVE API extensions for userspace

2018-08-07 Thread Dave Martin
On Mon, Aug 06, 2018 at 03:41:33PM +0200, Christoffer Dall wrote: > On Thu, Jul 26, 2018 at 02:18:02PM +0100, Dave Martin wrote: > > On Wed, Jul 25, 2018 at 06:52:56PM +0200, Andrew Jones wrote: > > > On Wed, Jul 25, 2018 at 04:27:49PM +0100, Dave Martin wrote: > > > > On Thu, Jul 19, 2018 at 04:59

Re: [RFC PATCH 00/16] KVM: arm64: Initial support for SVE guests

2018-08-07 Thread Dave Martin
On Mon, Aug 06, 2018 at 03:05:00PM +0200, Christoffer Dall wrote: > On Thu, Jun 21, 2018 at 03:57:24PM +0100, Dave Martin wrote: > > This series implements basic support for allowing KVM guests to use the > > Arm Scalable Vector Extension (SVE). > > > > The patches is based on torvalds/master f5b7

Re: [RFC PATCH 14/16] KVM: arm64/sve: Add SVE support to register access ioctl interface

2018-08-07 Thread Dave Martin
On Mon, Aug 06, 2018 at 03:25:57PM +0200, Christoffer Dall wrote: > On Thu, Jun 21, 2018 at 03:57:38PM +0100, Dave Martin wrote: > > This patch adds the following registers for access via the > > KVM_{GET,SET}_ONE_REG interface: > > > > * KVM_REG_ARM64_SVE_ZREG(n, i) (n = 0..31) (in 2048-bit slic

Re: [RFC PATCH 12/16] KVM: arm64/sve: Context switch the SVE registers

2018-08-07 Thread Dave Martin
On Mon, Aug 06, 2018 at 03:19:10PM +0200, Christoffer Dall wrote: > On Thu, Jun 21, 2018 at 03:57:36PM +0100, Dave Martin wrote: > > In order to give each vcpu its own view of the SVE registers, this > > patch adds context storage via a new sve_state pointer in struct > > vcpu_arch. An additional

Re: [RFC PATCH 09/16] KVM: arm64: Allow ID registers to by dynamically read-as-zero

2018-08-07 Thread Dave Martin
On Mon, Aug 06, 2018 at 03:03:24PM +0200, Christoffer Dall wrote: > Hi Dave, > > I think there's a typo in the subject "to be" rather than "to by". > > On Thu, Jun 21, 2018 at 03:57:33PM +0100, Dave Martin wrote: > > When a feature-dependent ID register is hidden from the guest, it > > needs to e