We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47eb2d6 commit 87bb39eCopy full SHA for 87bb39e
arch/arm64/include/asm/kvm_hyp.h
@@ -111,6 +111,7 @@ void __debug_restore_host_buffers_nvhe(struct kvm_vcpu *vcpu);
111
112
void __fpsimd_save_state(struct user_fpsimd_state *fp_regs);
113
void __fpsimd_restore_state(struct user_fpsimd_state *fp_regs);
114
+void __sve_save_state(void *sve_pffr, u32 *fpsr);
115
void __sve_restore_state(void *sve_pffr, u32 *fpsr);
116
117
u64 __guest_enter(struct kvm_vcpu *vcpu);
arch/arm64/kvm/hyp/fpsimd.S
@@ -25,3 +25,9 @@ SYM_FUNC_START(__sve_restore_state)
25
sve_load 0, x1, x2, 3
26
ret
27
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