Home
last modified time | relevance | path

Searched refs:X86_CR4_OSXSAVE (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/kvm/x86_64/
A Dcr4_cpuid_sync_test.c40 return (!!(ecx & X86_FEATURE_OSXSAVE)) == (!!(cr4 & X86_CR4_OSXSAVE)); in cr4_cpuid_is_sync()
49 cr4 |= X86_CR4_OSXSAVE; in guest_code()
99 sregs.cr4 &= ~X86_CR4_OSXSAVE; in main()
A Dset_sregs_test.c72 cr4 |= X86_CR4_OSXSAVE; in calc_cr4_feature_bits()
120 test_cr4_feature_bit(vm, &sregs, X86_CR4_OSXSAVE); in main()
/linux/arch/x86/include/uapi/asm/
A Dprocessor-flags.h126 #define X86_CR4_OSXSAVE _BITUL(X86_CR4_OSXSAVE_BIT) macro
/linux/tools/testing/selftests/kvm/include/x86_64/
A Dprocessor.h37 #define X86_CR4_OSXSAVE (1ul << 18) macro
/linux/arch/x86/kvm/
A Dx86.h468 __reserved_bits |= X86_CR4_OSXSAVE; \
A Dcpuid.c159 kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)); in kvm_update_cpuid_runtime()
A Dx86.c916 if (kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)) { in kvm_load_guest_xsave_state()
947 if (kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)) { in kvm_load_host_xsave_state()
/linux/arch/x86/kernel/
A Dsev-shared.c494 if (cr4 & X86_CR4_OSXSAVE) in vc_handle_cpuid()
/linux/arch/x86/kernel/fpu/
A Dxstate.c149 cr4_set_bits(X86_CR4_OSXSAVE); in fpu__init_cpu_xstate()
830 cr4_clear_bits(X86_CR4_OSXSAVE); in fpu__init_disable_system_xstate()
/linux/arch/x86/include/asm/
A Dkvm_host.h115 | X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_FSGSBASE \
/linux/arch/x86/kvm/vmx/
A Dvmx.c3202 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in vmx_set_cr4()
7068 cr4_fixed1_update(X86_CR4_OSXSAVE, ecx, feature_bit(XSAVE)); in nested_vmx_cr_fixed1_bits_update()
/linux/arch/x86/kvm/svm/
A Dsvm.c1860 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()

Completed in 59 milliseconds