Home
last modified time | relevance | path

Searched refs:EFER_LMA (Results 1 – 9 of 9) sorted by relevance

/arch/x86/realmode/
Dinit.c147 trampoline_header->efer = efer & ~EFER_LMA; in setup_real_mode()
/arch/x86/kvm/
Dx86.h88 return vcpu->arch.efer & EFER_LMA; in is_long_mode()
107 return (vcpu->arch.efer & EFER_LMA) && in is_la57_mode()
Demulate.c826 if (efer & EFER_LMA) in emulator_recalc_and_set_mode()
834 if (efer & EFER_LMA) in emulator_recalc_and_set_mode()
843 if (efer & EFER_LMA) { in emulator_recalc_and_set_mode()
1648 if (!(efer & EFER_LMA)) in get_descriptor_ptr()
1794 if (efer & EFER_LMA) in __load_segment_descriptor()
2630 if (ctxt->ops->set_msr(ctxt, MSR_EFER, val & ~EFER_LMA)) in rsm_load_state_64()
2849 if (efer & EFER_LMA) { in em_syscall()
2857 if (efer & EFER_LMA) { in em_syscall()
2899 if ((ctxt->mode != X86EMUL_MODE_PROT64) && (efer & EFER_LMA) in em_sysenter()
2915 if (efer & EFER_LMA) { in em_sysenter()
[all …]
Dx86.c96 u64 __read_mostly efer_reserved_bits = ~((u64)(EFER_SCE | EFER_LME | EFER_LMA));
1501 if (efer & (EFER_LME | EFER_LMA) && in __kvm_valid_efer()
1538 efer &= ~EFER_LMA; in set_efer()
1539 efer |= vcpu->arch.efer & EFER_LMA; in set_efer()
9893 || !(sregs->efer & EFER_LMA)) in kvm_valid_sregs()
9902 if (sregs->efer & EFER_LMA || sregs->cs.l) in kvm_valid_sregs()
/arch/x86/include/asm/
Dmsr-index.h36 #define EFER_LMA (1<<_EFER_LMA) macro
/arch/x86/kvm/vmx/
Dnested.c2157 return vmx->vcpu.arch.efer | (EFER_LMA | EFER_LME); in nested_vmx_calc_efer()
2159 return vmx->vcpu.arch.efer & ~(EFER_LMA | EFER_LME); in nested_vmx_calc_efer()
2358 if (guest_efer & EFER_LMA) in prepare_vmcs02_early()
2878 !!(vcpu->arch.efer & EFER_LMA))) in nested_vmx_check_address_space_size()
2951 CC(ia32e != !!(vmcs12->host_ia32_efer & EFER_LMA)) || in nested_vmx_check_host_state()
3046 CC(ia32e != !!(vmcs12->guest_ia32_efer & EFER_LMA)) || in nested_vmx_check_guest_state()
4233 vcpu->arch.efer |= (EFER_LMA | EFER_LME); in load_vmcs12_host_state()
4235 vcpu->arch.efer &= ~(EFER_LMA | EFER_LME); in load_vmcs12_host_state()
Dvmx.c1107 ignore_bits |= EFER_LMA | EFER_LME; in update_transition_efer()
1109 if (guest_efer & EFER_LMA) in update_transition_efer()
1120 if (!(guest_efer & EFER_LMA)) in update_transition_efer()
2935 if (efer & EFER_LMA) { in vmx_set_efer()
2963 vmx_set_efer(vcpu, vcpu->arch.efer | EFER_LMA); in enter_lmode()
2969 vmx_set_efer(vcpu, vcpu->arch.efer & ~EFER_LMA); in exit_lmode()
/arch/x86/kvm/svm/
Dsvm.c276 if (!(efer & EFER_LMA)) in svm_set_efer()
1665 vcpu->arch.efer |= EFER_LMA; in svm_set_cr0()
1666 svm->vmcb->save.efer |= EFER_LMA | EFER_LME; in svm_set_cr0()
1670 vcpu->arch.efer &= ~EFER_LMA; in svm_set_cr0()
1671 svm->vmcb->save.efer &= ~(EFER_LMA | EFER_LME); in svm_set_cr0()
/arch/x86/kvm/mmu/
Dmmu.c4596 else if (efer & EFER_LMA) in shadow_mmu_init_context()