Searched refs:X2APIC_ENABLE (Results 1 – 11 of 11) 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 | 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/arch/x86/kvm/ |
H A D | lapic.h | 30 LAPIC_MODE_INVALID = X2APIC_ENABLE, 32 LAPIC_MODE_X2APIC = MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE, 206 return apic->vcpu->arch.apic_base & X2APIC_ENABLE; in apic_x2apic_mode() 256 return apic_base & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE); in kvm_apic_mode()
|
H A D | lapic.c | 2584 if ((old_value ^ value) & X2APIC_ENABLE) { in __kvm_apic_set_base() 2585 if (value & X2APIC_ENABLE) in __kvm_apic_set_base() 2591 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) { in __kvm_apic_set_base() 2615 (guest_cpu_cap_has(vcpu, X86_FEATURE_X2APIC) ? 0 : X2APIC_ENABLE); in kvm_apic_set_base()
|
/linux/tools/testing/selftests/kvm/include/x86/ |
H A D | apic.h | 25 #define X2APIC_ENABLE (1UL << 10) macro
|
/linux/arch/x86/include/asm/ |
H A D | apicdef.h | 153 #define X2APIC_ENABLE BIT(10) macro
|
/linux/arch/x86/kernel/apic/ |
H A D | apic.c | 1712 if (!(msr & X2APIC_ENABLE)) in __x2apic_disable() 1715 wrmsrq(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); in __x2apic_disable() 1716 wrmsrq(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); in __x2apic_disable() 1725 if (msr & X2APIC_ENABLE) in __x2apic_enable() 1727 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/xen/ |
H A D | enlighten_pv.c | 1104 val &= ~X2APIC_ENABLE; in xen_do_read_msr()
|
/linux/arch/x86/kvm/vmx/ |
H A D | nested.c | 938 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
|