Home
last modified time | relevance | path

Searched refs:apic_base (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c40 sregs.apic_base = 1 << 10; in main()
43 sregs.apic_base); in main()
44 sregs.apic_base = 1 << 11; in main()
47 sregs.apic_base); in main()
Dsync_regs_test.c157 run->s.regs.sregs.apic_base = 1 << 11; in main()
170 TEST_ASSERT(run->s.regs.sregs.apic_base == 1 << 11, in main()
172 run->s.regs.sregs.apic_base); in main()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dlapic.h189 return apic->vcpu->arch.apic_base & MSR_IA32_APICBASE_ENABLE; in kvm_apic_hw_enabled()
214 return apic->vcpu->arch.apic_base & X2APIC_ENABLE; in apic_x2apic_mode()
256 static inline enum lapic_mode kvm_apic_mode(u64 apic_base) in kvm_apic_mode() argument
258 return apic_base & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE); in kvm_apic_mode()
Dlapic.c2189 if (!(vcpu->arch.apic_base & MSR_IA32_APICBASE_ENABLE)) in kvm_free_lapic()
2247 u64 old_value = vcpu->arch.apic_base; in kvm_lapic_set_base()
2253 vcpu->arch.apic_base = value; in kvm_lapic_set_base()
2278 apic->base_address = apic->vcpu->arch.apic_base & in kvm_lapic_set_base()
2349 vcpu->arch.apic_base | MSR_IA32_APICBASE_BSP); in kvm_lapic_reset()
2463 vcpu->arch.apic_base = MSR_IA32_APICBASE_ENABLE; in kvm_create_lapic()
2592 kvm_lapic_set_base(vcpu, vcpu->arch.apic_base); in kvm_apic_set_state()
Dcpuid.c119 vcpu->arch.apic_base & MSR_IA32_APICBASE_ENABLE); in kvm_update_cpuid_runtime()
Dx86.c400 return vcpu->arch.apic_base; in kvm_get_apic_base()
8294 kvm_run->apic_base = kvm_get_apic_base(vcpu); in post_kvm_run_save()
9598 sregs->apic_base = kvm_get_apic_base(vcpu); in __get_sregs()
9730 apic_base_msr.data = sregs->apic_base; in __set_sregs()
10406 return (vcpu->arch.apic_base & MSR_IA32_APICBASE_BSP) != 0; in kvm_vcpu_is_bsp()
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/
Dkvm.h156 __u64 apic_base; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dkvm.h144 __u64 apic_base; member
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dkvm.h156 __u64 apic_base; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dkvm.h191 __u64 apic_base; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dkvm.h279 __u64 apic_base; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dkvm.h279 __u64 apic_base; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkvm.h213 __u64 apic_base; member
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c203 sregs->cr8, sregs->efer, sregs->apic_base); in sregs_dump()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h543 u64 apic_base; member
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c1279 svm->vcpu.arch.apic_base = APIC_DEFAULT_PHYS_BASE | in svm_vcpu_reset()
1282 svm->vcpu.arch.apic_base |= MSR_IA32_APICBASE_BSP; in svm_vcpu_reset()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dnested.c849 if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) in nested_vmx_msr_check_common()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dapi.rst464 __u64 apic_base;
4894 __u64 apic_base;