Searched refs:xcr0 (Results 1 – 11 of 11) sorted by relevance
162 extern int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, u64 xcr0, u32 *v…
445 u64 xcr0; member498 u64 xcr0; member681 DEFINE_GHCB_ACCESSORS(xcr0)
803 u64 xcr0; member
391 u64 xcr0, u32 *vpkru) in fpu_copy_uabi_to_guest_fpstate() argument405 if (ustate->xsave.header.xfeatures & ~xcr0) in fpu_copy_uabi_to_guest_fpstate()
464 u64 xcr0 = 1, xss = 0; in snp_cpuid_postprocess() local471 xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in snp_cpuid_postprocess()497 xsave_size = snp_cpuid_calc_xsave_size(xcr0 | xss, compacted); in snp_cpuid_postprocess()
1041 vmsa->xcr0 = AP_INIT_XCR0_DEFAULT; in wakeup_cpu_via_vmgexit()
327 vmsa->xcr0 = 1; in hv_snp_boot_ap()
1025 if (vcpu->arch.xcr0 != host_xcr0) in kvm_load_guest_xsave_state()1026 xsetbv(XCR_XFEATURE_ENABLED_MASK, vcpu->arch.xcr0); in kvm_load_guest_xsave_state()1035 ((vcpu->arch.xcr0 & XFEATURE_MASK_PKRU) || in kvm_load_guest_xsave_state()1047 ((vcpu->arch.xcr0 & XFEATURE_MASK_PKRU) || in kvm_load_host_xsave_state()1056 if (vcpu->arch.xcr0 != host_xcr0) in kvm_load_host_xsave_state()1076 u64 xcr0 = xcr; in __kvm_set_xcr() local1077 u64 old_xcr0 = vcpu->arch.xcr0; in __kvm_set_xcr()1083 if (!(xcr0 & XFEATURE_MASK_FP)) in __kvm_set_xcr()1085 if ((xcr0 & XFEATURE_MASK_YMM) && !(xcr0 & XFEATURE_MASK_SSE)) in __kvm_set_xcr()1094 if (xcr0 & ~valid_bits) in __kvm_set_xcr()[all …]
288 best->ebx = xstate_required_size(vcpu->arch.xcr0, false); in __kvm_update_cpuid_runtime()293 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in __kvm_update_cpuid_runtime()
725 DEFINE_KVM_GHCB_ACCESSORS(xcr0)
617 save->xcr0 = svm->vcpu.arch.xcr0; in sev_es_sync_vmsa()2479 vcpu->arch.xcr0 = ghcb_get_xcr0(ghcb); in sev_es_sync_from_ghcb()3144 hostsa->xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in sev_es_prepare_switch_to_guest()