Home
last modified time | relevance | path

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

/linux/arch/x86/realmode/
H A Dinit.c149 trampoline_header->efer = efer & ~EFER_LMA; in setup_real_mode()
/linux/arch/x86/kvm/
H A Demulate.c792 if (efer & EFER_LMA) in emulator_recalc_and_set_mode()
800 if (efer & EFER_LMA) in emulator_recalc_and_set_mode()
809 if (efer & EFER_LMA) { in emulator_recalc_and_set_mode()
1515 if (!(efer & EFER_LMA)) in get_descriptor_ptr()
1689 if (efer & EFER_LMA) in __load_segment_descriptor()
2391 if (efer & EFER_LMA) { in em_syscall()
2399 if (efer & EFER_LMA) { in em_syscall()
2441 if ((ctxt->mode != X86EMUL_MODE_PROT64) && (efer & EFER_LMA) && in em_sysenter()
2457 if (efer & EFER_LMA) { in em_sysenter()
2466 ctxt->_eip = (efer & EFER_LMA) ? msr_data : (u32)msr_data; in em_sysenter()
[all …]
H A Dx86.h169 return !!(vcpu->arch.efer & EFER_LMA); in is_long_mode()
H A Dsmm.c531 if (kvm_set_msr(vcpu, MSR_EFER, smstate->efer & ~EFER_LMA)) in rsm_load_state_64()
H A Dx86.c117 u64 __read_mostly efer_reserved_bits = ~((u64)(EFER_SCE | EFER_LME | EFER_LMA));
1735 if (efer & (EFER_LME | EFER_LMA) && in __kvm_valid_efer()
1772 efer &= ~EFER_LMA; in set_efer()
1773 efer |= vcpu->arch.efer & EFER_LMA; in set_efer()
11871 if (!(sregs->cr4 & X86_CR4_PAE) || !(sregs->efer & EFER_LMA)) in kvm_is_valid_sregs()
11880 if (sregs->efer & EFER_LMA || sregs->cs.l) in kvm_is_valid_sregs()
11991 !(sregs2->efer & EFER_LMA); in __set_sregs2()
/linux/arch/x86/kvm/vmx/
H A Dnested.c2242 return vmx->vcpu.arch.efer | (EFER_LMA | EFER_LME); in nested_vmx_calc_efer()
2244 return vmx->vcpu.arch.efer & ~(EFER_LMA | EFER_LME); in nested_vmx_calc_efer()
2453 if (guest_efer & EFER_LMA) in prepare_vmcs02_early()
2993 !!(vcpu->arch.efer & EFER_LMA))) in nested_vmx_check_address_space_size()
3060 CC(ia32e != !!(vmcs12->host_ia32_efer & EFER_LMA)) || in nested_vmx_check_host_state()
3160 CC(ia32e != !!(vmcs12->guest_ia32_efer & EFER_LMA)) || in nested_vmx_check_guest_state()
4648 vcpu->arch.efer |= (EFER_LMA | EFER_LME); in load_vmcs12_host_state()
4650 vcpu->arch.efer &= ~(EFER_LMA | EFER_LME); in load_vmcs12_host_state()
/linux/arch/x86/include/asm/
H A Dmsr-index.h32 #define EFER_LMA (1<<_EFER_LMA) macro
/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h32 #define EFER_LMA (1<<_EFER_LMA) macro
/linux/arch/x86/kvm/svm/
H A Dsvm.c308 if (!(efer & EFER_LMA)) in svm_set_efer()
1864 vcpu->arch.efer |= EFER_LMA; in svm_set_cr0()
1866 svm->vmcb->save.efer |= EFER_LMA | EFER_LME; in svm_set_cr0()
1870 vcpu->arch.efer &= ~EFER_LMA; in svm_set_cr0()
1872 svm->vmcb->save.efer &= ~(EFER_LMA | EFER_LME); in svm_set_cr0()
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c509 sregs.efer |= (EFER_LME | EFER_LMA | EFER_NX); in vcpu_init_sregs()