Re: [PATCH v4 12/14] KVM: arm64: Support FEAT_FPMR for guests

2024-02-23 Thread Mark Brown
On Fri, Feb 23, 2024 at 11:18:51AM +, Marc Zyngier wrote: > Mark Brown wrote: > > #define HCRX_GUEST_FLAGS \ > > - (HCRX_EL2_SMPME | HCRX_EL2_TCR2En | \ > > + (HCRX_EL2_SMPME | HCRX_EL2_TCR2En | HCRX_EL2_EnFPM | \ > No. We don't do that anymore. This can only be enabled if the guest > h

Re: [PATCH v4 12/14] KVM: arm64: Support FEAT_FPMR for guests

2024-02-23 Thread Marc Zyngier
On Mon, 22 Jan 2024 16:28:15 +, Mark Brown wrote: > > FEAT_FPMR introduces a new system register FPMR which allows configuration > of floating point behaviour, currently for FP8 specific features. Allow use > of this in guests, disabling the trap while guests are running and saving > and rest

[PATCH v4 12/14] KVM: arm64: Support FEAT_FPMR for guests

2024-01-22 Thread Mark Brown
FEAT_FPMR introduces a new system register FPMR which allows configuration of floating point behaviour, currently for FP8 specific features. Allow use of this in guests, disabling the trap while guests are running and saving and restoring the value along with the rest of the floating point state. S