Skip to content

Commit e66425f

Browse files
author
Marc Zyngier
committed
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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
1 parent 8383741 commit e66425f

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

arch/arm64/include/asm/kvm_hyp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ void __debug_restore_host_buffers_nvhe(struct kvm_vcpu *vcpu);
9090

9191
void __fpsimd_save_state(struct user_fpsimd_state *fp_regs);
9292
void __fpsimd_restore_state(struct user_fpsimd_state *fp_regs);
93-
void __sve_save_state(void *sve_pffr, u32 *fpsr);
9493
void __sve_restore_state(void *sve_pffr, u32 *fpsr);
9594

9695
#ifndef __KVM_NVHE_HYPERVISOR__

arch/arm64/kvm/hyp/fpsimd.S

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,3 @@ SYM_FUNC_START(__sve_restore_state)
2525
sve_load 0, x1, x2, 3
2626
ret
2727
SYM_FUNC_END(__sve_restore_state)
28-
29-
SYM_FUNC_START(__sve_save_state)
30-
mov x2, #1
31-
sve_save 0, x1, x2, 3
32-
ret
33-
SYM_FUNC_END(__sve_save_state)

0 commit comments

Comments
 (0)