Searched refs:X86_CR4_SMEP (Results 1 – 12 of 12) sorted by relevance
687 if ((cr4 & X86_CR4_SMEP) != X86_CR4_SMEP) { in lkdtm_UNSET_SMEP()691 cr4 &= ~(X86_CR4_SMEP); in lkdtm_UNSET_SMEP()697 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP()730 if (native_read_cr4() & X86_CR4_SMEP) { in lkdtm_UNSET_SMEP()734 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP()
68 cr4 |= X86_CR4_SMEP; in calc_supported_cr4_feature_bits()109 TEST_INVALID_CR_BIT(vcpu, cr4, sregs, X86_CR4_SMEP); in test_cr_bits()
14 #define X86_CR4_TLBFLUSH_BITS (X86_CR4_PGE | X86_CR4_PCIDE | X86_CR4_PAE | X86_CR4_SMEP)15 #define X86_CR4_PDPTR_BITS (X86_CR4_PGE | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_SMEP)
41 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
1367 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()
375 cr4_set_bits(X86_CR4_SMEP); in setup_smep()438 static const unsigned long cr4_pinned_mask = X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP |
530 (__read_cr4() & X86_CR4_SMEP)) in show_fault_oops()
61 #define X86_CR4_SMEP (1ul << 20) macro
143 | X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_FSGSBASE \
1838 cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in svm_set_cr4()5179 smep = kvm_is_cr4_bit_set(vcpu, X86_CR4_SMEP); in svm_check_emulate_instruction()
3591 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()7914 cr4_fixed1_update(X86_CR4_SMEP, ebx, feature_bit(SMEP)); in nested_vmx_cr_fixed1_bits_update()
212 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, smep, X86_CR4_SMEP);