Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/misc/lkdtm/
A 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.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dset_sregs_test.c68 cr4 |= X86_CR4_SMEP; in calc_supported_cr4_feature_bits()
113 test_cr4_feature_bit(vcpu, &sregs, X86_CR4_SMEP); in main()
/linux-6.3-rc2/arch/x86/kvm/
A 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)
A Dmmu.h40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
A Dx86.h475 __reserved_bits |= X86_CR4_SMEP; \
A Dx86.c1157 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()
/linux-6.3-rc2/arch/x86/include/uapi/asm/
A Dprocessor-flags.h128 #define X86_CR4_SMEP _BITUL(X86_CR4_SMEP_BIT) macro
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dcommon.c377 cr4_set_bits(X86_CR4_SMEP); in setup_smep()
417 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP |
/linux-6.3-rc2/arch/x86/mm/
A Dfault.c527 (__read_cr4() & X86_CR4_SMEP)) in show_fault_oops()
/linux-6.3-rc2/tools/testing/selftests/kvm/include/x86_64/
A Dprocessor.h47 #define X86_CR4_SMEP (1ul << 20) macro
/linux-6.3-rc2/arch/x86/include/asm/
A Dkvm_host.h126 | X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_FSGSBASE \
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dsvm.c1855 cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in svm_set_cr4()
4624 smep = cr4 & X86_CR4_SMEP; in svm_can_emulate_instruction()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dvmx.c3469 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
7627 cr4_fixed1_update(X86_CR4_SMEP, ebx, feature_bit(SMEP)); in nested_vmx_cr_fixed1_bits_update()
/linux-6.3-rc2/arch/x86/kvm/mmu/
A Dmmu.c197 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, smep, X86_CR4_SMEP);

Completed in 91 milliseconds