Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dx86.c1121 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4) in kvm_post_set_cr4() argument
1123 if ((cr4 ^ old_cr4) & KVM_MMU_CR4_ROLE_BITS) in kvm_post_set_cr4()
1135 (cr4 & X86_CR4_PCIDE) && !(old_cr4 & X86_CR4_PCIDE)) in kvm_post_set_cr4()
1146 if (((cr4 ^ old_cr4) & X86_CR4_PGE) || in kvm_post_set_cr4()
1147 (!(cr4 & X86_CR4_PCIDE) && (old_cr4 & X86_CR4_PCIDE))) in kvm_post_set_cr4()
1156 else if (((cr4 ^ old_cr4) & X86_CR4_PAE) || in kvm_post_set_cr4()
1157 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()
1165 unsigned long old_cr4 = kvm_read_cr4(vcpu); in kvm_set_cr4() local
1173 if ((cr4 ^ old_cr4) & X86_CR4_LA57) in kvm_set_cr4()
1176 && ((cr4 ^ old_cr4) & X86_CR4_PDPTR_BITS) in kvm_set_cr4()
[all …]
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1829 unsigned long old_cr4 = vcpu->arch.cr4; in svm_set_cr4() local
1831 if (npt_enabled && ((old_cr4 ^ cr4) & X86_CR4_PGE)) in svm_set_cr4()
1845 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h1854 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4);
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c3290 unsigned long old_cr4 = vcpu->arch.cr4; in vmx_set_cr4() local
3348 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in vmx_set_cr4()