Searched refs:X2APIC_ENABLE (Results 1 – 7 of 7) 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/tools/testing/selftests/kvm/include/x86/ |
| H A D | apic.h | 25 #define X2APIC_ENABLE (1UL << 10) macro
|
| /linux/arch/x86/kernel/ |
| H A D | head_64.S | 258 testl $X2APIC_ENABLE, %eax 271 orl $X2APIC_ENABLE, %eax
|
| /linux/arch/x86/kernel/apic/ |
| H A D | apic.c | 1726 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable() 1729 wrmsrq(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable() 1730 wrmsrq(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable() 1739 if (msr & X2APIC_ENABLE) in __x2apic_enable() 1741 wrmsrq(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable()
|
| /linux/arch/x86/xen/ |
| H A D | enlighten_pv.c | 1098 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()
|