Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dlapic.h27 LAPIC_MODE_INVALID = X2APIC_ENABLE,
29 LAPIC_MODE_X2APIC = MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE,
219 return apic->vcpu->arch.apic_base & X2APIC_ENABLE; in apic_x2apic_mode()
269 return apic_base & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE); in kvm_apic_mode()
Dlapic.c2397 if (((old_value ^ value) & X2APIC_ENABLE) && (value & X2APIC_ENABLE)) in kvm_lapic_set_base()
2400 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) { in kvm_lapic_set_base()
Dx86.c480 (guest_cpuid_has(vcpu, X86_FEATURE_X2APIC) ? 0 : X2APIC_ENABLE); in kvm_set_apic_base()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dapic.h26 #define X2APIC_ENABLE (1UL << 10) macro
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dsmm_test.c77 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c1783 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable()
1786 wrmsrl(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable()
1787 wrmsrl(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable()
1796 if (msr & X2APIC_ENABLE) in __x2apic_enable()
1798 wrmsrl(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable()
/linux-6.1.9/arch/x86/include/asm/
Dapicdef.h143 #define X2APIC_ENABLE (1UL << 10) macro
Dapic.h126 return msr & X2APIC_ENABLE; in apic_is_x2apic_enabled()
/linux-6.1.9/arch/x86/xen/
Denlighten_pv.c945 val &= ~X2APIC_ENABLE; in xen_do_read_msr()
/linux-6.1.9/arch/x86/kvm/vmx/
Dnested.c845 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst4151 and their behavior depends on the ``X2APIC_ENABLE`` bit of the APIC base