Home
last modified time | relevance | path

Searched refs:is_long_mode (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dx86.h85 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function
98 if (!is_long_mode(vcpu)) in is_64_bit_mode()
151 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
H A Dx86.c1015 if (is_long_mode(vcpu)) { in kvm_set_cr4()
1031 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()
1068 if (is_long_mode(vcpu) && in kvm_set_cr3()
2929 int lm = is_long_mode(vcpu); in xen_hvm_config()
7210 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dx86.h143 static inline bool is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function
158 if (!is_long_mode(vcpu)) in is_64_bit_mode()
205 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
H A Dxen.c1046 bool lm = is_long_mode(vcpu); in kvm_xen_write_hypercall_page()
H A Dx86.c1199 if (is_long_mode(vcpu)) { in kvm_set_cr4()
1211 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()
8437 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h358 if (KVM_BUG_ON(is_long_mode(vcpu) && !is_pae(vcpu), vcpu->kvm)) in walk_addr_generic()
H A Dmmu.c5394 else if (is_long_mode(vcpu)) in init_kvm_nested_mmu()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
H A Dmmu.c4349 if (!kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || !is_long_mode(vcpu)) { in update_pkru_bitmask()
4534 } else if (is_long_mode(vcpu)) { in init_kvm_tdp_mmu()
4580 if (!is_long_mode(vcpu)) in kvm_calc_shadow_mmu_root_page_role()
4739 else if (is_long_mode(vcpu)) in kvm_calc_nested_mmu_role()
4781 } else if (is_long_mode(vcpu)) { in init_kvm_nested_mmu()
H A Dpaging_tmpl.h347 ASSERT(!(is_long_mode(vcpu) && !is_pae(vcpu))); in walk_addr_generic()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dnested.c4715 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
H A Dvmx.c1811 if (is_long_mode(&vmx->vcpu) && (vmx->vcpu.arch.efer & EFER_SCE)) { in setup_msrs()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dnested.c4972 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
H A Dvmx.c1876 load_syscall_msrs = is_long_mode(&vmx->vcpu) && in vmx_setup_uret_msrs()
/kernel/linux/linux-6.6/arch/x86/kvm/svm/
H A Dsvm.c2487 if (!is_long_mode(vcpu)) in invlpga_interception()

Completed in 91 milliseconds