Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A 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()
H A Dlapic.c2279 if (((old_value ^ value) & X2APIC_ENABLE) && (value & X2APIC_ENABLE)) in kvm_lapic_set_base()
2282 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) in kvm_lapic_set_base()
H A Dx86.c413 (guest_cpuid_has(vcpu, X86_FEATURE_X2APIC) ? 0 : X2APIC_ENABLE); in kvm_set_apic_base()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/x86_64/
H A Dsmm_test.c68 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
/OK3568_Linux_fs/kernel/arch/x86/kernel/apic/
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dapicdef.h149 #define X2APIC_ENABLE (1UL << 10) macro
H A Dapic.h128 return msr & X2APIC_ENABLE; in apic_is_x2apic_enabled()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h393 #define X2APIC_ENABLE (1UL << 10) macro
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A Denlighten_pv.c933 val &= ~X2APIC_ENABLE; in xen_read_msr_safe()
/OK3568_Linux_fs/kernel/arch/x86/kvm/vmx/
H A Dnested.c849 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dapi.rst4798 and their behavior depends on the ``X2APIC_ENABLE`` bit of the APIC base