Home
last modified time | relevance | path

Searched refs:X86_CR4_SMEP (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/misc/lkdtm/
Dbugs.c466 if ((cr4 & X86_CR4_SMEP) != X86_CR4_SMEP) { in lkdtm_UNSET_SMEP()
470 cr4 &= ~(X86_CR4_SMEP); in lkdtm_UNSET_SMEP()
476 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP()
508 if (native_read_cr4() & X86_CR4_SMEP) { in lkdtm_UNSET_SMEP()
512 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c68 cr4 |= X86_CR4_SMEP; in calc_supported_cr4_feature_bits()
116 test_cr4_feature_bit(vcpu, &sregs, X86_CR4_SMEP); in main()
/linux-6.1.9/arch/x86/kvm/
Dkvm_cache_regs.h13 #define X86_CR4_TLBFLUSH_BITS (X86_CR4_PGE | X86_CR4_PCIDE | X86_CR4_PAE | X86_CR4_SMEP)
14 #define X86_CR4_PDPTR_BITS (X86_CR4_PGE | X86_CR4_PSE | X86_CR4_PAE | X86_CR4_SMEP)
Dmmu.h40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
Dx86.h462 __reserved_bits |= X86_CR4_SMEP; \
Dx86.c1157 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()
/linux-6.1.9/arch/x86/include/uapi/asm/
Dprocessor-flags.h128 #define X86_CR4_SMEP _BITUL(X86_CR4_SMEP_BIT) macro
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h44 #define X86_CR4_SMEP (1ul << 20) macro
/linux-6.1.9/arch/x86/kernel/cpu/
Dcommon.c376 cr4_set_bits(X86_CR4_SMEP); in setup_smep()
416 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP |
/linux-6.1.9/arch/x86/mm/
Dfault.c548 (__read_cr4() & X86_CR4_SMEP)) in show_fault_oops()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h121 | X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_FSGSBASE \
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1839 cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in svm_set_cr4()
4608 smep = cr4 & X86_CR4_SMEP; in svm_can_emulate_instruction()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c3342 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
7529 cr4_fixed1_update(X86_CR4_SMEP, ebx, feature_bit(SMEP)); in nested_vmx_cr_fixed1_bits_update()
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c187 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, smep, X86_CR4_SMEP);