Home
last modified time | relevance | path

Searched refs:X86_FEATURE_SGX (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/arch/x86/kernel/cpu/
Dfeat_ctl.c105 setup_clear_cpu_cap(X86_FEATURE_SGX); in nosgx()
121 clear_cpu_cap(c, X86_FEATURE_SGX); in init_ia32_feat_ctl()
128 if (cpu_has(c, X86_FEATURE_SGX) && IS_ENABLED(CONFIG_X86_SGX)) { in init_ia32_feat_ctl()
190 clear_cpu_cap(c, X86_FEATURE_SGX); in init_ia32_feat_ctl()
206 clear_cpu_cap(c, X86_FEATURE_SGX); in init_ia32_feat_ctl()
Dcpuid-deps.c77 { X86_FEATURE_SGX_LC, X86_FEATURE_SGX },
78 { X86_FEATURE_SGX1, X86_FEATURE_SGX },
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dvmx_msrs_test.c105 __ia32_feature_control_msr_test(vcpu, FEAT_CTL_SGX_LC_ENABLED, X86_FEATURE_SGX); in ia32_feature_control_msr_test()
106 __ia32_feature_control_msr_test(vcpu, FEAT_CTL_SGX_ENABLED, X86_FEATURE_SGX); in ia32_feature_control_msr_test()
/linux-6.6.21/tools/arch/x86/include/asm/
Ddisabled-features.h93 # define DISABLE_SGX (1 << (X86_FEATURE_SGX & 31))
Dcpufeatures.h245 #define X86_FEATURE_SGX ( 9*32+ 2) /* Software Guard Extensions */ macro
/linux-6.6.21/arch/x86/include/asm/
Ddisabled-features.h93 # define DISABLE_SGX (1 << (X86_FEATURE_SGX & 31))
Dcpufeatures.h244 #define X86_FEATURE_SGX ( 9*32+ 2) /* Software Guard Extensions */ macro
/linux-6.6.21/arch/x86/kvm/vmx/
Dsgx.c384 if (!enable_sgx || !guest_cpuid_has(vcpu, X86_FEATURE_SGX) || in handle_encls()
482 if (guest_cpuid_has(vcpu, X86_FEATURE_SGX) && in vmx_write_encls_bitmap()
Dvmx.c7825 if (guest_cpuid_has(vcpu, X86_FEATURE_SGX)) in vmx_vcpu_after_set_cpuid()
7893 kvm_cpu_cap_clear(X86_FEATURE_SGX); in vmx_set_cpu_caps()
Dnested.c6095 if (!guest_cpuid_has(vcpu, X86_FEATURE_SGX) || in nested_vmx_exit_handled_encls()
/linux-6.6.21/arch/x86/kernel/cpu/sgx/
Dmain.c917 if (!cpu_feature_enabled(X86_FEATURE_SGX)) in sgx_init()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h144 #define X86_FEATURE_SGX KVM_X86_CPU_FEATURE(0x7, 0, EBX, 2) macro
/linux-6.6.21/arch/x86/kvm/
Dcpuid.c1071 if (!kvm_cpu_cap_has(X86_FEATURE_SGX)) { in __do_cpuid_func()