Home
last modified time | relevance | path

Searched refs:X86_CR4_SMAP (Results 1 – 7 of 7) sorted by relevance

/arch/x86/include/uapi/asm/
Dprocessor-flags.h130 #define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT) macro
/arch/x86/kernel/cpu/
Dcommon.c338 cr4_set_bits(X86_CR4_SMAP); in setup_smap()
340 cr4_clear_bits(X86_CR4_SMAP); in setup_smap()
435 mask = (X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP); in setup_cr_pinning()
/arch/x86/include/asm/
Dkvm_host.h93 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/arch/x86/kvm/
Dmmu.c4747 bool cr4_smap = kvm_read_cr4_bits(vcpu, X86_CR4_SMAP) != 0; in update_permission_bitmask()
4957 ext.cr4_smap = !!kvm_read_cr4_bits(vcpu, X86_CR4_SMAP); in kvm_calc_mmu_role_ext()
Dx86.c900 if (!guest_cpuid_has(vcpu, X86_FEATURE_SMAP) && (cr4 & X86_CR4_SMAP)) in kvm_valid_cr4()
922 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE; in kvm_set_cr4()
Dsvm.c7112 bool smap = cr4 & X86_CR4_SMAP; in svm_need_emulation_on_page_fault()
/arch/x86/kvm/vmx/
Dvmx.c3096 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
7000 cr4_fixed1_update(X86_CR4_SMAP, ebx, bit(X86_FEATURE_SMAP)); in nested_vmx_cr_fixed1_bits_update()