Lines Matching refs:fp_state
84 vcpu->arch.fp_state = FP_STATE_HOST_OWNED; in kvm_arch_vcpu_load_fp()
105 vcpu->arch.fp_state = FP_STATE_FREE; in kvm_arch_vcpu_load_fp()
121 vcpu->arch.fp_state = FP_STATE_FREE; in kvm_arch_vcpu_ctxflush_fp()
133 struct cpu_fp_state fp_state; in kvm_arch_vcpu_ctxsync_fp() local
137 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED) { in kvm_arch_vcpu_ctxsync_fp()
143 fp_state.st = &vcpu->arch.ctxt.fp_regs; in kvm_arch_vcpu_ctxsync_fp()
144 fp_state.sve_state = vcpu->arch.sve_state; in kvm_arch_vcpu_ctxsync_fp()
145 fp_state.sve_vl = vcpu->arch.sve_max_vl; in kvm_arch_vcpu_ctxsync_fp()
146 fp_state.sme_state = NULL; in kvm_arch_vcpu_ctxsync_fp()
147 fp_state.svcr = &vcpu->arch.svcr; in kvm_arch_vcpu_ctxsync_fp()
148 fp_state.fp_type = &vcpu->arch.fp_type; in kvm_arch_vcpu_ctxsync_fp()
151 fp_state.to_save = FP_STATE_SVE; in kvm_arch_vcpu_ctxsync_fp()
153 fp_state.to_save = FP_STATE_FPSIMD; in kvm_arch_vcpu_ctxsync_fp()
155 fpsimd_bind_state_to_cpu(&fp_state); in kvm_arch_vcpu_ctxsync_fp()
190 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED) { in kvm_arch_vcpu_put_fp()