Home
last modified time | relevance | path

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

/linux-6.1.9/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.c75 { X86_FEATURE_SGX_LC, X86_FEATURE_SGX },
76 { X86_FEATURE_SGX1, X86_FEATURE_SGX },
/linux-6.1.9/tools/arch/x86/include/asm/
Ddisabled-features.h81 # define DISABLE_SGX (1 << (X86_FEATURE_SGX & 31))
Dcpufeatures.h246 #define X86_FEATURE_SGX ( 9*32+ 2) /* Software Guard Extensions */ macro
/linux-6.1.9/arch/x86/include/asm/
Ddisabled-features.h81 # define DISABLE_SGX (1 << (X86_FEATURE_SGX & 31))
Dcpufeatures.h246 #define X86_FEATURE_SGX ( 9*32+ 2) /* Software Guard Extensions */ macro
/linux-6.1.9/arch/x86/kvm/vmx/
Dsgx.c352 if (!enable_sgx || !guest_cpuid_has(vcpu, X86_FEATURE_SGX)) in encls_leaf_enabled_in_guest()
471 if (guest_cpuid_has(vcpu, X86_FEATURE_SGX) && in vmx_write_encls_bitmap()
Dvmx.c7653 if (guest_cpuid_has(vcpu, X86_FEATURE_SGX)) in vmx_vcpu_after_set_cpuid()
7693 kvm_cpu_cap_clear(X86_FEATURE_SGX); in vmx_set_cpu_caps()
Dnested.c6038 if (!guest_cpuid_has(vcpu, X86_FEATURE_SGX) || in nested_vmx_exit_handled_encls()
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Dmain.c918 if (!cpu_feature_enabled(X86_FEATURE_SGX)) in sgx_init()
/linux-6.1.9/arch/x86/kvm/
Dcpuid.c1022 if (!kvm_cpu_cap_has(X86_FEATURE_SGX)) { in __do_cpuid_func()