Searched refs:X2APIC_ENABLE (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | xapic_state_test.c | 144 expected = apic_base & X2APIC_ENABLE ? vcpu->id : vcpu->id << 24; in __test_apic_id() 149 (apic_base & X2APIC_ENABLE) ? "x2APIC" : "xAPIC", in __test_apic_id() 177 TEST_ASSERT(!(apic_base & X2APIC_ENABLE), in test_apic_id() 181 __test_apic_id(vcpus[i], apic_base | X2APIC_ENABLE); in test_apic_id()
|
D | recalc_apic_map_test.c | 18 #define LAPIC_X2APIC (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)
|
D | smm_test.c | 77 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
|
/linux-6.6.21/arch/x86/kvm/ |
D | lapic.h | 27 LAPIC_MODE_INVALID = X2APIC_ENABLE, 29 LAPIC_MODE_X2APIC = MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE, 223 return apic->vcpu->arch.apic_base & X2APIC_ENABLE; in apic_x2apic_mode() 273 return apic_base & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE); in kvm_apic_mode()
|
D | lapic.c | 2554 if ((old_value ^ value) & X2APIC_ENABLE) { in kvm_lapic_set_base() 2555 if (value & X2APIC_ENABLE) in kvm_lapic_set_base() 2561 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) { in kvm_lapic_set_base()
|
D | x86.c | 490 (guest_cpuid_has(vcpu, X86_FEATURE_X2APIC) ? 0 : X2APIC_ENABLE); in kvm_set_apic_base()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/ |
D | apic.h | 26 #define X2APIC_ENABLE (1UL << 10) macro
|
/linux-6.6.21/arch/x86/kernel/ |
D | head_64.S | 256 testl $X2APIC_ENABLE, %eax 269 orl $X2APIC_ENABLE, %eax
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | apic.c | 1746 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable() 1749 wrmsrl(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable() 1750 wrmsrl(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable() 1759 if (msr & X2APIC_ENABLE) in __x2apic_enable() 1761 wrmsrl(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | apicdef.h | 146 #define X2APIC_ENABLE BIT(10) macro
|
D | apic.h | 116 return msr & X2APIC_ENABLE; in apic_is_x2apic_enabled()
|
/linux-6.6.21/arch/x86/xen/ |
D | enlighten_pv.c | 1026 val &= ~X2APIC_ENABLE; in xen_do_read_msr()
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | nested.c | 859 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
|