Searched refs:X2APIC_ENABLE (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
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 | recalc_apic_map_test.c | 18 #define LAPIC_X2APIC (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)
|
H A D | smm_test.c | 76 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
|
/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | apic.h | 27 #define X2APIC_ENABLE (1UL << 10) macro
|
/linux/arch/x86/include/asm/ |
H A D | apicdef.h | 153 #define X2APIC_ENABLE BIT(10) macro
|
H A D | apic.h | 125 return msr & X2APIC_ENABLE; in apic_is_x2apic_enabled()
|
/linux/arch/x86/kernel/ |
H A D | head_64.S | 249 testl $X2APIC_ENABLE, %eax 262 orl $X2APIC_ENABLE, %eax
|
/linux/arch/x86/kernel/apic/ |
H A D | apic.c | 1714 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable() 1717 wrmsrl(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable() 1718 wrmsrl(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable() 1727 if (msr & X2APIC_ENABLE) in __x2apic_enable() 1729 wrmsrl(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable()
|
/linux/arch/x86/xen/ |
H A D | enlighten_pv.c | 1034 val &= ~X2APIC_ENABLE; in xen_do_read_msr()
|