Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c70 cr4 |= X86_CR4_SMAP; in calc_supported_cr4_feature_bits()
117 test_cr4_feature_bit(vcpu, &sregs, X86_CR4_SMAP); in main()
/linux-6.1.9/arch/x86/include/uapi/asm/
Dprocessor-flags.h130 #define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT) macro
/linux-6.1.9/arch/x86/kvm/
Dmmu.h40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
Dx86.h464 __reserved_bits |= X86_CR4_SMAP; \
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h45 #define X86_CR4_SMAP (1ul << 21) macro
/linux-6.1.9/arch/x86/kernel/cpu/
Dcommon.c387 cr4_set_bits(X86_CR4_SMAP); in setup_smap()
416 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP |
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h123 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1839 cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in svm_set_cr4()
4609 smap = cr4 & X86_CR4_SMAP; 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()
7530 cr4_fixed1_update(X86_CR4_SMAP, ebx, feature_bit(SMAP)); in nested_vmx_cr_fixed1_bits_update()
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c188 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, smap, X86_CR4_SMAP);