diff options
author | Marc Zyngier <maz@kernel.org> | 2024-08-20 14:17:58 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-08-27 07:59:27 +0100 |
commit | ef3be86021c3bdf384c36d9d4aa1ee9fe65b95af (patch) | |
tree | 8c138860a4c6038f873ef7e454e34ecc0dbdff34 /arch/arm64/kvm/emulate-nested.c | |
parent | 7d9c1ed6f4bfa8d5fcafad847ac64e2839a04301 (diff) | |
download | linux-ef3be86021c3bdf384c36d9d4aa1ee9fe65b95af.tar.gz linux-ef3be86021c3bdf384c36d9d4aa1ee9fe65b95af.tar.bz2 linux-ef3be86021c3bdf384c36d9d4aa1ee9fe65b95af.zip |
KVM: arm64: Add save/restore support for FPMR
Just like the rest of the FP/SIMD state, FPMR needs to be context
switched.
The only interesting thing here is that we need to treat the pKVM
part a bit differently, as the host FP state is never written back
to the vcpu thread, but instead stored locally and eagerly restored.
Reviewed-by: Mark Brown <broonie@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240820131802.3547589-5-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/emulate-nested.c')
0 files changed, 0 insertions, 0 deletions