Home
last modified time | relevance | path

Searched refs:X86_FEATURE_SGX2 (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/x86/kvm/vmx/
H A Dsgx.c113 if (trapnr == PF_VECTOR && !boot_cpu_has(X86_FEATURE_SGX2)) { in sgx_inject_fault()
124 if ((trapnr == PF_VECTOR || !boot_cpu_has(X86_FEATURE_SGX2)) && in sgx_inject_fault()
125 guest_cpuid_has(vcpu, X86_FEATURE_SGX2)) { in sgx_inject_fault()
368 return guest_cpuid_has(vcpu, X86_FEATURE_SGX2); in encls_leaf_enabled_in_guest()
490 if (guest_cpuid_has(vcpu, X86_FEATURE_SGX2)) in vmx_write_encls_bitmap()
H A Dvmx.c7923 kvm_cpu_cap_clear(X86_FEATURE_SGX2); in vmx_set_cpu_caps()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dscattered.c43 { X86_FEATURE_SGX2, CPUID_EAX, 1, 0x00000012, 0 },
H A Dcpuid-deps.c79 { X86_FEATURE_SGX2, X86_FEATURE_SGX1 },
/openbmc/linux/tools/arch/x86/include/asm/
H A Dcpufeatures.h297 #define X86_FEATURE_SGX2 (11*32+ 9) /* "" SGX Enclave Dynamic Memory Management (EDMM) */ macro
/openbmc/linux/arch/x86/include/asm/
H A Dcpufeatures.h296 #define X86_FEATURE_SGX2 (11*32+ 9) /* "" SGX Enclave Dynamic Memory Management (EDMM) */ macro
/openbmc/linux/arch/x86/kernel/cpu/sgx/
H A Dioctl.c673 if (!(cpu_feature_enabled(X86_FEATURE_SGX2))) in sgx_ioc_sgx2_ready()
H A Dencl.c456 if (cpu_feature_enabled(X86_FEATURE_SGX2) && in sgx_vma_fault()