Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/
H A Dx86.c1304 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4) in kvm_post_set_cr4() argument
1306 if ((cr4 ^ old_cr4) & KVM_MMU_CR4_ROLE_BITS) in kvm_post_set_cr4()
1318 (cr4 & X86_CR4_PCIDE) && !(old_cr4 & X86_CR4_PCIDE)) in kvm_post_set_cr4()
1329 if (((cr4 ^ old_cr4) & X86_CR4_PGE) || in kvm_post_set_cr4()
1330 (!(cr4 & X86_CR4_PCIDE) && (old_cr4 & X86_CR4_PCIDE))) in kvm_post_set_cr4()
1339 else if (((cr4 ^ old_cr4) & X86_CR4_PAE) || in kvm_post_set_cr4()
1340 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()
1348 unsigned long old_cr4 = kvm_read_cr4(vcpu); in kvm_set_cr4() local
1356 if ((cr4 ^ old_cr4) & X86_CR4_LA57) in kvm_set_cr4()
1359 && ((cr4 ^ old_cr4) & X86_CR4_PDPTR_BITS) in kvm_set_cr4()
[all …]
/linux/arch/x86/kvm/svm/
H A Dsvm.c1922 unsigned long old_cr4 = vcpu->arch.cr4; in svm_set_cr4() local
1924 if (npt_enabled && ((old_cr4 ^ cr4) & X86_CR4_PGE)) in svm_set_cr4()
1938 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()