Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86_64/
H A Dxapic_state_test.c154 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 Drecalc_apic_map_test.c18 #define LAPIC_X2APIC (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)
H A Dsmm_test.c76 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dapic.h27 #define X2APIC_ENABLE (1UL << 10) macro
/linux/arch/x86/include/asm/
H A Dapicdef.h153 #define X2APIC_ENABLE BIT(10) macro
H A Dapic.h125 return msr & X2APIC_ENABLE; in apic_is_x2apic_enabled()
/linux/arch/x86/kernel/
H A Dhead_64.S249 testl $X2APIC_ENABLE, %eax
262 orl $X2APIC_ENABLE, %eax
/linux/arch/x86/kernel/apic/
H A Dapic.c1714 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 Denlighten_pv.c1034 val &= ~X2APIC_ENABLE; in xen_do_read_msr()