summary refs log tree commit diff
path: root/arch/arm64/kvm/hyp/fpsimd.S
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-11-22 15:59:23 +0000
committerMarc Zyngier <maz@kernel.org>2021-11-22 16:01:39 +0000
commite66425fc9ba33e9716d6e7c6bc78bb62f981d4df (patch)
treef9c77b9ddb7b23648a5a01a72086ea984840717e /arch/arm64/kvm/hyp/fpsimd.S
parent8383741ab2e773a992f1f0f8acdca5e7a4687c49 (diff)
downloadlinux-e66425fc9ba33e9716d6e7c6bc78bb62f981d4df.tar.gz
KVM: arm64: Remove unused __sve_save_state
Now that we don't have any users left for __sve_save_state, remove
it altogether. Should we ever need to save the SVE state from the
hypervisor again, we can always re-introduce it.

Suggested-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/fpsimd.S')
-rw-r--r--arch/arm64/kvm/hyp/fpsimd.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm64/kvm/hyp/fpsimd.S b/arch/arm64/kvm/hyp/fpsimd.S
index e950875e31ce..61e6f3ba7b7d 100644
--- a/arch/arm64/kvm/hyp/fpsimd.S
+++ b/arch/arm64/kvm/hyp/fpsimd.S
@@ -25,9 +25,3 @@ SYM_FUNC_START(__sve_restore_state)
 	sve_load 0, x1, x2, 3
 	ret
 SYM_FUNC_END(__sve_restore_state)
-
-SYM_FUNC_START(__sve_save_state)
-	mov	x2, #1
-	sve_save 0, x1, x2, 3
-	ret
-SYM_FUNC_END(__sve_save_state)