Re: [PATCH v3 4/7] arm64/fpsimd: Stop using TIF_SVE to manage register saving in KVM

2022-09-20 Thread Mark Brown
On Tue, Sep 20, 2022 at 07:04:24PM +0100, Marc Zyngier wrote: > Mark Brown wrote: > > - switch (last->to_save) { > > - case FP_STATE_TASK: > > - break; > > - case FP_STATE_FPSIMD: > > - WARN_ON_ONCE(save_sve_regs); > > - break; > > - case FP_STATE_SVE: > > -

Re: [PATCH v3 4/7] arm64/fpsimd: Stop using TIF_SVE to manage register saving in KVM

2022-09-20 Thread Marc Zyngier
On Mon, 15 Aug 2022 23:55:26 +0100, Mark Brown wrote: > > Now that we are explicitly telling the host FP code which register state > it needs to save we can remove the manipulation of TIF_SVE from the KVM > code, simplifying it and allowing us to optimise our handling of normal > tasks. Remove

[PATCH v3 4/7] arm64/fpsimd: Stop using TIF_SVE to manage register saving in KVM

2022-08-15 Thread Mark Brown
Now that we are explicitly telling the host FP code which register state it needs to save we can remove the manipulation of TIF_SVE from the KVM code, simplifying it and allowing us to optimise our handling of normal tasks. Remove the manipulation of TIF_SVE from KVM and instead rely on to_save to