Re: [RFC PATCH 2/2] KVM: arm64: Eliminate most redundant FPSIMD saves and restores

2018-03-05 Thread Dave Martin
On Fri, Feb 23, 2018 at 06:08:44PM +0100, Christoffer Dall wrote: > Hi Dave, > > On Fri, Feb 16, 2018 at 06:29:31PM +, Dave Martin wrote: > > Currently, KVM doesn't know how host tasks interact with the cpu > > FPSIMD regs, and the host doesn't knoe how vcpus interact with the > > regs. As a

Re: [RFC PATCH 2/2] KVM: arm64: Eliminate most redundant FPSIMD saves and restores

2018-03-02 Thread Dave Martin
On Fri, Feb 23, 2018 at 06:08:44PM +0100, Christoffer Dall wrote: > Hi Dave, Thanks for the input, and apologies for the slow response on this... > On Fri, Feb 16, 2018 at 06:29:31PM +, Dave Martin wrote: > > Currently, KVM doesn't know how host tasks interact with the cpu > > FPSIMD regs,

Re: [RFC PATCH 2/2] KVM: arm64: Eliminate most redundant FPSIMD saves and restores

2018-02-23 Thread Christoffer Dall
Hi Dave, On Fri, Feb 16, 2018 at 06:29:31PM +, Dave Martin wrote: > Currently, KVM doesn't know how host tasks interact with the cpu > FPSIMD regs, and the host doesn't knoe how vcpus interact with the > regs. As a result, KVM must currently switch the FPSIMD state > rather defensively in

[RFC PATCH 2/2] KVM: arm64: Eliminate most redundant FPSIMD saves and restores

2018-02-16 Thread Dave Martin
Currently, KVM doesn't know how host tasks interact with the cpu FPSIMD regs, and the host doesn't knoe how vcpus interact with the regs. As a result, KVM must currently switch the FPSIMD state rather defensively in order to avoid anybody's state getting corrupted: in particular, the host and