Searched refs:X86_CR4_SMAP (Results 1 – 7 of 7) sorted by relevance
130 #define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT) macro
338 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()
93 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
4747 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()
900 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()
7112 bool smap = cr4 & X86_CR4_SMAP; in svm_need_emulation_on_page_fault()
3096 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()