Home
last modified time | relevance | path

Searched refs:lapic_in_kernel (Results 1 – 16 of 16) sorted by relevance

/linux-6.3-rc2/arch/x86/kvm/
A Dirq.c28 if (lapic_in_kernel(vcpu)) in kvm_cpu_has_pending_timer()
61 if (!lapic_in_kernel(v)) in kvm_cpu_has_extint()
114 WARN_ON(!lapic_in_kernel(v)); in kvm_cpu_get_extint()
118 if (!lapic_in_kernel(v)) in kvm_cpu_get_extint()
148 if (lapic_in_kernel(vcpu)) in kvm_inject_pending_timer_irqs()
A Dlapic.h186 static inline bool lapic_in_kernel(struct kvm_vcpu *vcpu) in lapic_in_kernel() function
213 return lapic_in_kernel(vcpu) && kvm_apic_hw_enabled(vcpu->arch.apic); in kvm_apic_present()
228 return lapic_in_kernel(vcpu) && vcpu->arch.apic->apicv_active; in kvm_vcpu_apicv_active()
233 return lapic_in_kernel(vcpu) && vcpu->arch.apic->pending_events; in kvm_apic_has_pending_init_or_sipi()
250 return lapic_in_kernel(vcpu) && test_bit(KVM_APIC_INIT, &vcpu->arch.apic->pending_events); in kvm_lapic_latched_init()
A Ddebugfs.c66 if (lapic_in_kernel(vcpu)) in kvm_arch_create_vcpu_debugfs()
A Dlapic.c543 if (!lapic_in_kernel(vcpu)) in kvm_apic_set_version()
567 if (!lapic_in_kernel(vcpu) || nr_lvt_entries == apic->nr_lvt_entries) in kvm_apic_after_set_mcg_cap()
1828 if (lapic_in_kernel(vcpu) && in kvm_wait_lapic_expire()
2042 if (!lapic_in_kernel(vcpu)) in kvm_lapic_hv_timer_in_use()
2981 if (!lapic_in_kernel(vcpu) || in __kvm_migrate_apic_timer()
3152 if (!lapic_in_kernel(vcpu) || !apic_x2apic_mode(apic)) in kvm_x2apic_msr_write()
3163 if (!lapic_in_kernel(vcpu) || !apic_x2apic_mode(apic)) in kvm_x2apic_msr_read()
3171 if (!lapic_in_kernel(vcpu)) in kvm_hv_vapic_msr_write()
3179 if (!lapic_in_kernel(vcpu)) in kvm_hv_vapic_msr_read()
A Dx86.c1295 if (lapic_in_kernel(vcpu)) in kvm_set_cr8()
1305 if (lapic_in_kernel(vcpu)) in kvm_get_cr8()
3373 if (!lapic_in_kernel(vcpu)) in kvm_pv_enable_async_pf()
3402 if (!lapic_in_kernel(vcpu)) in kvm_pv_enable_async_pf_int()
5000 if (lapic_in_kernel(vcpu)) in kvm_vcpu_x86_set_ucna()
5220 lapic_in_kernel(vcpu)) in kvm_vcpu_ioctl_x86_set_vcpu_events()
9877 if (!lapic_in_kernel(vcpu)) in update_cr8_intercept()
10192 if (!lapic_in_kernel(vcpu)) in __kvm_vcpu_update_apicv()
10226 if (!lapic_in_kernel(vcpu)) in kvm_vcpu_update_apicv()
10361 if (!lapic_in_kernel(vcpu)) in kvm_vcpu_reload_apic_access_page()
[all …]
A Dpmu.c554 if (lapic_in_kernel(vcpu)) { in kvm_pmu_deliver_pmi()
A Dhyperv.c478 if (KVM_BUG_ON(!lapic_in_kernel(vcpu), vcpu->kvm)) in synic_set_irq()
838 if (lapic_in_kernel(vcpu)) in stimer_notify_direct()
2794 if (!vcpu || lapic_in_kernel(vcpu)) in kvm_get_hv_cpuid()
A Dxen.c1213 if (!lapic_in_kernel(vcpu) || in kvm_xen_schedop_poll()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dcapabilities.h121 return cpu_has_vmx_tpr_shadow() && lapic_in_kernel(vcpu); in cpu_need_tpr_shadow()
A Dposted_intr.c66 if (!enable_apicv || !lapic_in_kernel(vcpu)) in vmx_vcpu_pi_load()
A Dvmx.h740 return lapic_in_kernel(vcpu) && enable_ipiv; in vmx_can_use_ipiv()
A Dvmx.c674 return flexpriority_enabled && lapic_in_kernel(vcpu); in cpu_need_virtualize_apic_accesses()
4034 if (!cpu_has_vmx_msr_bitmap() || WARN_ON_ONCE(!lapic_in_kernel(vcpu))) in vmx_update_msr_bitmap_x2apic()
4723 if (enable_apicv && lapic_in_kernel(&vmx->vcpu)) { in init_vmcs()
5468 if (lapic_in_kernel(vcpu)) in handle_cr()
6687 if (!lapic_in_kernel(vcpu)) in vmx_set_virtual_apic_mode()
A Dnested.c4063 if (lapic_in_kernel(vcpu) && in vmx_check_nested_events()
4077 if (lapic_in_kernel(vcpu) && in vmx_check_nested_events()
/linux-6.3-rc2/arch/x86/kvm/svm/
A Davic.c1052 if (!lapic_in_kernel(vcpu) || !enable_apicv) in avic_refresh_virtual_apic_mode()
A Dnested.c1382 if (lapic_in_kernel(vcpu) && in svm_check_nested_events()
A Dsvm.c2691 if (lapic_in_kernel(vcpu)) in cr8_write_interception()

Completed in 86 milliseconds