Searched refs:X86_CR4_OSXSAVE (Results 1 – 16 of 16) sorted by relevance
26 return (this_cpu_has(X86_FEATURE_OSXSAVE) == !!(cr4 & X86_CR4_OSXSAVE)); in cr4_cpuid_is_sync()35 cr4 |= X86_CR4_OSXSAVE; in guest_code()69 sregs.cr4 &= ~X86_CR4_OSXSAVE; in main()
65 cr4 |= X86_CR4_OSXSAVE; in calc_supported_cr4_feature_bits()112 TEST_INVALID_CR_BIT(vcpu, cr4, sregs, X86_CR4_OSXSAVE); in main()
55 set_cr4(get_cr4() | X86_CR4_OSXSAVE); in guest_code()
149 set_cr4(get_cr4() | X86_CR4_OSXSAVE); in guest_code()
135 cr4 |= X86_CR4_OSXSAVE; in init_regs()
290 if (cr4 & X86_CR4_OSXSAVE) in __sev_cpuid_hv_ghcb()451 if (native_read_cr4() & X86_CR4_OSXSAVE) in snp_cpuid_postprocess()475 if (native_read_cr4() & X86_CR4_OSXSAVE) in snp_cpuid_postprocess()962 if (cr4 & X86_CR4_OSXSAVE) in vc_handle_cpuid()
130 #define X86_CR4_OSXSAVE _BITUL(X86_CR4_OSXSAVE_BIT) macro
515 __reserved_bits |= X86_CR4_OSXSAVE; \
275 kvm_is_cr4_bit_set(vcpu, X86_CR4_OSXSAVE)); in __kvm_update_cpuid_runtime()
1023 if (kvm_is_cr4_bit_set(vcpu, X86_CR4_OSXSAVE)) { in kvm_load_guest_xsave_state()1054 if (kvm_is_cr4_bit_set(vcpu, X86_CR4_OSXSAVE)) { in kvm_load_host_xsave_state()
3833 if (!(ctxt->ops->get_cr(ctxt, 4) & X86_CR4_OSXSAVE)) in em_xsetbv()
175 cr4_set_bits(X86_CR4_OSXSAVE); in fpu__init_cpu_xstate()722 cr4_clear_bits(X86_CR4_OSXSAVE); in fpu__init_disable_system_xstate()
46 #define X86_CR4_OSXSAVE (1ul << 18) macro
126 | X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_FSGSBASE \
3496 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in vmx_set_cr4()7682 cr4_fixed1_update(X86_CR4_OSXSAVE, ecx, feature_bit(XSAVE)); in nested_vmx_cr_fixed1_bits_update()
1950 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()