Home
last modified time | relevance | path

Searched refs:smep (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dmmu.rst188 Contains the value of cr4.smep && !cr0.wp for which the page is valid
412 exists when an spte created with cr0.wp=0 and cr4.smep=0 is used after
413 changing cr4.smep to 1. To avoid this, the value of !cr0.wp && cr4.smep
/OK3568_Linux_fs/kernel/arch/x86/kvm/svm/
H A Dsvm.c4088 bool smep, smap, is_user; in svm_can_emulate_instruction() local
4139 smep = cr4 & X86_CR4_SMEP; in svm_can_emulate_instruction()
4142 if (smap && (!smep || is_user)) { in svm_can_emulate_instruction()