Home
last modified time | relevance | path

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

/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dprocessor-flags.h127 #define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT) macro
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dprocessor-flags.h130 #define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT) macro
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h36 #define X86_CR4_SMAP (1ul << 21) macro
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.h398 __reserved_bits |= X86_CR4_SMAP; \
Dx86.c1000 unsigned long mmu_role_bits = pdptr_bits | X86_CR4_SMAP | X86_CR4_PKE; in kvm_set_cr4()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dcommon.c321 cr4_set_bits(X86_CR4_SMAP); in setup_smap()
324 cr4_clear_bits(X86_CR4_SMAP); in setup_smap()
355 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP | X86_CR4_FSGSBASE;
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h103 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c4238 bool cr4_smap = kvm_read_cr4_bits(vcpu, X86_CR4_SMAP) != 0; in update_permission_bitmask()
4446 ext.cr4_smap = !!kvm_read_cr4_bits(vcpu, X86_CR4_SMAP); in kvm_calc_mmu_role_ext()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c3256 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
7237 cr4_fixed1_update(X86_CR4_SMAP, ebx, feature_bit(SMAP)); in nested_vmx_cr_fixed1_bits_update()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c4153 smap = cr4 & X86_CR4_SMAP; in svm_can_emulate_instruction()