Searched refs:X2APIC_ENABLE (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | xapic_state_test.c | 154 expected = apic_base & X2APIC_ENABLE ? vcpu->id : vcpu->id << 24; in __test_apic_id() 159 (apic_base & X2APIC_ENABLE) ? "x2APIC" : "xAPIC", in __test_apic_id() 187 TEST_ASSERT(!(apic_base & X2APIC_ENABLE), in test_apic_id() 191 __test_apic_id(vcpus[i], apic_base | X2APIC_ENABLE); in test_apic_id() 206 vcpu_set_msr(vcpu, MSR_IA32_APICBASE, MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE); in test_x2apic_id()
|
| H A D | smm_test.c | 74 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
|
| /linux/arch/x86/include/asm/ |
| H A D | apicdef.h | 155 #define X2APIC_ENABLE BIT(10) macro
|
| /linux/arch/x86/kernel/apic/ |
| H A D | apic.c | 1721 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable() 1724 wrmsrq(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable() 1725 wrmsrq(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable() 1734 if (msr & X2APIC_ENABLE) in __x2apic_enable() 1736 wrmsrq(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable()
|
| /linux/arch/x86/kernel/ |
| H A D | head_64.S | 258 testl $X2APIC_ENABLE, %eax 271 orl $X2APIC_ENABLE, %eax
|
| /linux/arch/x86/kvm/ |
| H A D | lapic.c | 2768 if ((old_value ^ value) & X2APIC_ENABLE) { in __kvm_apic_set_base() 2769 if (value & X2APIC_ENABLE) in __kvm_apic_set_base() 2775 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) { in __kvm_apic_set_base() 2799 (guest_cpu_cap_has(vcpu, X86_FEATURE_X2APIC) ? 0 : X2APIC_ENABLE); in kvm_apic_set_base()
|
| /linux/arch/x86/xen/ |
| H A D | enlighten_pv.c | 1102 val &= ~X2APIC_ENABLE; in xen_do_read_msr()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | nested.c | 996 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
|