Searched refs:MSR_IA32_APICBASE (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/ |
D | apic.c | 10 wrmsr(MSR_IA32_APICBASE, in apic_disable() 11 rdmsr(MSR_IA32_APICBASE) & in apic_disable() 17 uint64_t val = rdmsr(MSR_IA32_APICBASE); in xapic_enable() 22 wrmsr(MSR_IA32_APICBASE, in xapic_enable() 23 rdmsr(MSR_IA32_APICBASE) | MSR_IA32_APICBASE_ENABLE); in xapic_enable() 25 wrmsr(MSR_IA32_APICBASE, val | MSR_IA32_APICBASE_ENABLE); in xapic_enable() 39 wrmsr(MSR_IA32_APICBASE, rdmsr(MSR_IA32_APICBASE) | in x2apic_enable()
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | recalc_apic_map_test.c | 58 vcpu_set_msr(vcpus[i], MSR_IA32_APICBASE, LAPIC_X2APIC); in main() 64 vcpu_set_msr(vcpuN, MSR_IA32_APICBASE, LAPIC_X2APIC); in main() 65 vcpu_set_msr(vcpuN, MSR_IA32_APICBASE, LAPIC_DISABLED); in main()
|
D | smm_test.c | 71 uint64_t apicbase = rdmsr(MSR_IA32_APICBASE); in guest_code() 77 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
|
D | xapic_state_test.c | 140 vcpu_set_msr(vcpu, MSR_IA32_APICBASE, apic_base); in __test_apic_id() 173 apic_base = vcpu_get_msr(vcpus[i], MSR_IA32_APICBASE); in test_apic_id()
|
D | ucna_injection_test.c | 74 uint64_t msr = rdmsr(MSR_IA32_APICBASE); in verify_apic_base_addr()
|
D | xapic_ipi_test.c | 85 uint64_t msr = rdmsr(MSR_IA32_APICBASE); in verify_apic_base_addr()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/ |
D | apic.h | 18 #define MSR_IA32_APICBASE 0x0000001b macro 70 return rdmsr(MSR_IA32_APICBASE) & MSR_IA32_APICBASE_BSP; in get_bsp_flag()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | apic.c | 1207 rdmsr(MSR_IA32_APICBASE, l, h); in disable_local_APIC() 1209 wrmsr(MSR_IA32_APICBASE, l, h); in disable_local_APIC() 1745 rdmsrl(MSR_IA32_APICBASE, msr); 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() 1758 rdmsrl(MSR_IA32_APICBASE, msr); in __x2apic_enable() 1761 wrmsrl(MSR_IA32_APICBASE, msr | X2APIC_ENABLE); in __x2apic_enable() 1990 rdmsr(MSR_IA32_APICBASE, l, h); in apic_verify() 2013 rdmsr(MSR_IA32_APICBASE, l, h); in apic_force_enable() 2018 wrmsr(MSR_IA32_APICBASE, l, h); in apic_force_enable() [all …]
|
/linux-6.6.21/arch/x86/include/asm/ |
D | apic.h | 114 if (rdmsrl_safe(MSR_IA32_APICBASE, &msr)) in apic_is_x2apic_enabled()
|
D | msr-index.h | 789 #define MSR_IA32_APICBASE 0x0000001b macro
|
/linux-6.6.21/arch/x86/kernel/ |
D | head_64.S | 254 mov $MSR_IA32_APICBASE, %ecx
|
/linux-6.6.21/tools/arch/x86/include/asm/ |
D | msr-index.h | 783 #define MSR_IA32_APICBASE 0x0000001b macro
|
/linux-6.6.21/arch/x86/xen/ |
D | enlighten_pv.c | 1025 case MSR_IA32_APICBASE: in xen_do_read_msr()
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.c | 3727 case MSR_IA32_APICBASE: in kvm_set_msr_common() 4157 case MSR_IA32_APICBASE: in kvm_get_msr_common()
|
/linux-6.6.21/Documentation/virt/kvm/ |
D | api.rst | 1966 (reported by MSR_IA32_APICBASE) of its VCPU. x2APIC stores APIC ID in 1970 be called after MSR_IA32_APICBASE has been set with KVM_SET_MSR.
|