Searched refs:X86_FEATURE_SGX (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | feat_ctl.c | 105 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()
|
D | cpuid-deps.c | 77 { X86_FEATURE_SGX_LC, X86_FEATURE_SGX }, 78 { X86_FEATURE_SGX1, X86_FEATURE_SGX },
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_msrs_test.c | 105 __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/ |
D | disabled-features.h | 93 # define DISABLE_SGX (1 << (X86_FEATURE_SGX & 31))
|
D | cpufeatures.h | 245 #define X86_FEATURE_SGX ( 9*32+ 2) /* Software Guard Extensions */ macro
|
/linux-6.6.21/arch/x86/include/asm/ |
D | disabled-features.h | 93 # define DISABLE_SGX (1 << (X86_FEATURE_SGX & 31))
|
D | cpufeatures.h | 244 #define X86_FEATURE_SGX ( 9*32+ 2) /* Software Guard Extensions */ macro
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | sgx.c | 384 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()
|
D | vmx.c | 7825 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()
|
D | nested.c | 6095 if (!guest_cpuid_has(vcpu, X86_FEATURE_SGX) || in nested_vmx_exit_handled_encls()
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | main.c | 917 if (!cpu_feature_enabled(X86_FEATURE_SGX)) in sgx_init()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 144 #define X86_FEATURE_SGX KVM_X86_CPU_FEATURE(0x7, 0, EBX, 2) macro
|
/linux-6.6.21/arch/x86/kvm/ |
D | cpuid.c | 1071 if (!kvm_cpu_cap_has(X86_FEATURE_SGX)) { in __do_cpuid_func()
|