Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c181 (run->s.regs.sregs.efer & EFER_LME), in race_sync_regs()
184 !!(run->s.regs.sregs.efer & EFER_LME)); in race_sync_regs()
/linux-6.6.21/arch/x86/kvm/
Dmmu.h43 #define KVM_MMU_EFER_ROLE_BITS (EFER_LME | EFER_NX)
Dx86.c111 u64 __read_mostly efer_reserved_bits = ~((u64)(EFER_SCE | EFER_LME | EFER_LMA));
984 if ((vcpu->arch.efer & EFER_LME) && !is_paging(vcpu) && in kvm_set_cr0()
995 if (!(vcpu->arch.efer & EFER_LME) && (cr0 & X86_CR0_PG) && in kvm_set_cr0()
1733 if (efer & (EFER_LME | EFER_LMA) && in __kvm_valid_efer()
1766 (vcpu->arch.efer & EFER_LME) != (efer & EFER_LME)) in set_efer()
11477 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_is_valid_sregs()
/linux-6.6.21/tools/arch/x86/include/asm/
Dmsr-index.h31 #define EFER_LME (1<<_EFER_LME) macro
/linux-6.6.21/arch/x86/include/asm/
Dmsr-index.h31 #define EFER_LME (1<<_EFER_LME) macro
/linux-6.6.21/arch/x86/kvm/vmx/
Dnested.c2158 return vmx->vcpu.arch.efer | (EFER_LMA | EFER_LME); in nested_vmx_calc_efer()
2160 return vmx->vcpu.arch.efer & ~(EFER_LMA | EFER_LME); in nested_vmx_calc_efer()
2970 CC(ia32e != !!(vmcs12->host_ia32_efer & EFER_LME))) in nested_vmx_check_host_state()
3071 ia32e != !!(vmcs12->guest_ia32_efer & EFER_LME)))) in nested_vmx_check_guest_state()
4474 vcpu->arch.efer |= (EFER_LMA | EFER_LME); in load_vmcs12_host_state()
4476 vcpu->arch.efer &= ~(EFER_LMA | EFER_LME); in load_vmcs12_host_state()
Dvmx.c1120 ignore_bits |= EFER_LMA | EFER_LME; in update_transition_efer()
1134 guest_efer &= ~EFER_LME; in update_transition_efer()
3309 if (vcpu->arch.efer & EFER_LME) { in vmx_set_cr0()
6303 vcpu->arch.efer | (EFER_LMA | EFER_LME)); in dump_vmcs()
6306 vcpu->arch.efer & ~(EFER_LMA | EFER_LME)); in dump_vmcs()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c306 efer &= ~EFER_LME; in svm_set_efer()
1876 if (vcpu->arch.efer & EFER_LME) { in svm_set_cr0()
1880 svm->vmcb->save.efer |= EFER_LMA | EFER_LME; in svm_set_cr0()
1886 svm->vmcb->save.efer &= ~(EFER_LMA | EFER_LME); in svm_set_cr0()
Dnested.c296 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save()
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c541 sregs.efer |= (EFER_LME | EFER_LMA | EFER_NX); in vcpu_setup()