KVM: arm64: Reintroduce __sve_save_state
authorFuad Tabba <tabba@google.com>
Mon, 3 Jun 2024 12:28:43 +0000 (13:28 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 4 Jun 2024 14:06:32 +0000 (15:06 +0100)
commit87bb39ed40bdf1596b8820e800226e24eb642677
tree0897925b7249ad7d1acc5c6f69846a8fd2ab5f76
parent47eb2d68d10208e6a9e89d10b66018e8d6ca0623
KVM: arm64: Reintroduce __sve_save_state

Now that the hypervisor is handling the host sve state in
protected mode, it needs to be able to save it.

This reverts commit e66425fc9ba3 ("KVM: arm64: Remove unused
__sve_save_state").

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20240603122852.3923848-2-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_hyp.h
arch/arm64/kvm/hyp/fpsimd.S