Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/
Dlapic.h25 LAPIC_MODE_INVALID = X2APIC_ENABLE,
27 LAPIC_MODE_X2APIC = MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE,
214 return apic->vcpu->arch.apic_base & X2APIC_ENABLE; in apic_x2apic_mode()
258 return apic_base & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE); in kvm_apic_mode()
Dlapic.c2272 if (((old_value ^ value) & X2APIC_ENABLE) && (value & X2APIC_ENABLE)) in kvm_lapic_set_base()
2275 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) in kvm_lapic_set_base()
Dx86.c415 (guest_cpuid_has(vcpu, X86_FEATURE_X2APIC) ? 0 : X2APIC_ENABLE); in kvm_set_apic_base()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dsmm_test.c68 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic.c1761 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable()
1764 wrmsrl(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable()
1765 wrmsrl(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable()
1774 if (msr & X2APIC_ENABLE) in __x2apic_enable()
1776 wrmsrl(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dapicdef.h149 #define X2APIC_ENABLE (1UL << 10) macro
Dapic.h128 return msr & X2APIC_ENABLE; in apic_is_x2apic_enabled()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h393 #define X2APIC_ENABLE (1UL << 10) macro
/kernel/linux/linux-5.10/arch/x86/xen/
Denlighten_pv.c932 val &= ~X2APIC_ENABLE; in xen_read_msr_safe()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dnested.c849 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dapi.rst4793 and their behavior depends on the ``X2APIC_ENABLE`` bit of the APIC base