Home
last modified time | relevance | path

Searched refs:X86_FEATURE_LM (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/arch/x86/kvm/
Dsmm.c293 if (guest_cpuid_has(vcpu, X86_FEATURE_LM)) in enter_smm()
364 if (guest_cpuid_has(vcpu, X86_FEATURE_LM)) in enter_smm()
597 if (guest_cpuid_has(vcpu, X86_FEATURE_LM)) { in emulator_leave_smm()
620 if (guest_cpuid_has(vcpu, X86_FEATURE_LM)) { in emulator_leave_smm()
643 if (guest_cpuid_has(vcpu, X86_FEATURE_LM)) in emulator_leave_smm()
Dx86.c1734 !guest_cpuid_has(vcpu, X86_FEATURE_LM)) in __kvm_valid_efer()
/Linux-v6.6/arch/x86/include/asm/
Drequired-features.h65 #define NEED_LM (1<<(X86_FEATURE_LM & 31))
Dcpufeatures.h69 #define X86_FEATURE_LM ( 1*32+29) /* Long Mode (x86-64, 64-bit support) */ macro
/Linux-v6.6/tools/arch/x86/include/asm/
Drequired-features.h65 #define NEED_LM (1<<(X86_FEATURE_LM & 31))
Dcpufeatures.h69 #define X86_FEATURE_LM ( 1*32+29) /* Long Mode (x86-64, 64-bit support) */ macro
/Linux-v6.6/arch/x86/boot/
Dcpucheck.c124 if (test_bit(X86_FEATURE_LM, cpu.flags)) in check_cpu()
/Linux-v6.6/arch/x86/kernel/cpu/
Damd.c1121 if (cpu_has(c, X86_FEATURE_3DNOW) || cpu_has(c, X86_FEATURE_LM)) in init_amd()
/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h179 #define X86_FEATURE_LM KVM_X86_CPU_FEATURE(0x80000001, 0, EDX, 29) macro
/Linux-v6.6/arch/x86/kvm/svm/
Dsvm.c4616 if (!guest_cpuid_has(vcpu, X86_FEATURE_LM)) in svm_enter_smm()
4663 if (!guest_cpuid_has(vcpu, X86_FEATURE_LM)) in svm_leave_smm()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c2134 if (!guest_cpuid_has(vcpu, X86_FEATURE_LM)) in nested_vmx_truncate_sysenter_addr()