Re: [PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-04-25 Thread Dave Martin
On Wed, Apr 24, 2019 at 04:21:22PM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > This patch adds the necessary support for context switching ZCR_EL1 > > for each vcpu. > > > > ZCR_EL1 is trapped alongside the FPSIMD/SVE registers, so it makes > > sense for it to be handled as part of

Re: [PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-04-24 Thread Alex Bennée
Dave Martin writes: > This patch adds the necessary support for context switching ZCR_EL1 > for each vcpu. > > ZCR_EL1 is trapped alongside the FPSIMD/SVE registers, so it makes > sense for it to be handled as part of the guest FPSIMD/SVE context > for context switch purposes instead of

Re: [PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-04-04 Thread Andrew Jones
On Fri, Mar 29, 2019 at 01:00:37PM +, Dave Martin wrote: > This patch adds the necessary support for context switching ZCR_EL1 > for each vcpu. > > ZCR_EL1 is trapped alongside the FPSIMD/SVE registers, so it makes > sense for it to be handled as part of the guest FPSIMD/SVE context > for

Re: [PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-04-04 Thread Dave Martin
On Thu, Apr 04, 2019 at 10:32:18AM +0200, Andrew Jones wrote: > On Thu, Apr 04, 2019 at 09:06:58AM +0100, Dave Martin wrote: > > On Wed, Apr 03, 2019 at 09:39:43PM +0200, Andrew Jones wrote: > > > On Fri, Mar 29, 2019 at 01:00:37PM +, Dave Martin wrote: [...] > > > > +static int

Re: [PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-04-04 Thread Andrew Jones
On Thu, Apr 04, 2019 at 09:06:58AM +0100, Dave Martin wrote: > On Wed, Apr 03, 2019 at 09:39:43PM +0200, Andrew Jones wrote: > > On Fri, Mar 29, 2019 at 01:00:37PM +, Dave Martin wrote: > > > This patch adds the necessary support for context switching ZCR_EL1 > > > for each vcpu. > > > > > >

Re: [PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-04-04 Thread Dave Martin
On Wed, Apr 03, 2019 at 09:39:43PM +0200, Andrew Jones wrote: > On Fri, Mar 29, 2019 at 01:00:37PM +, Dave Martin wrote: > > This patch adds the necessary support for context switching ZCR_EL1 > > for each vcpu. > > > > ZCR_EL1 is trapped alongside the FPSIMD/SVE registers, so it makes > >

[PATCH v7 12/27] KVM: arm64/sve: System register context switch and access support

2019-03-29 Thread Dave Martin
This patch adds the necessary support for context switching ZCR_EL1 for each vcpu. ZCR_EL1 is trapped alongside the FPSIMD/SVE registers, so it makes sense for it to be handled as part of the guest FPSIMD/SVE context for context switch purposes instead of handling it as a general system register.