Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kvm/
Dvm.c61 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
115 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
170 return irqchip_in_kernel(kvm); in kvm_arch_irqchip_in_kernel()
Daia_device.c52 if (irqchip_in_kernel(kvm)) in aia_create()
/linux-6.12.1/arch/x86/kvm/
Dirq.c171 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
176 return irqchip_in_kernel(kvm); in kvm_arch_irqchip_in_kernel()
Dirq.h90 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dirq_comm.c276 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
Dlapic.c398 WARN_ONCE(!irqchip_in_kernel(kvm), in kvm_recalculate_apic_map()
2873 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_create_lapic()
Dx86.c5173 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()
5814 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()
6506 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
6539 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()
6759 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()
7069 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()
12257 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_create()
/linux-6.12.1/arch/arm64/kvm/
Dpmu-emul.c366 if (likely(irqchip_in_kernel(vcpu->kvm))) { in kvm_pmu_update_state()
379 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_pmu_should_notify_user()
829 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()
851 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()
997 if (!irqchip_in_kernel(kvm)) in kvm_arm_pmu_v3_set_attr()
1090 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
Darch_timer.c210 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()
668 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()
718 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_nested_switch()
867 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()
934 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_user()
971 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_timer_vcpu_reset()
1516 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()
1564 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_timer_set_attr()
Darm.c447 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) in kvm_arch_vcpu_precreate()
506 if (vcpu_has_run_once(vcpu) && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_destroy()
817 if (likely(irqchip_in_kernel(kvm))) { in kvm_arch_vcpu_run_pid_change()
851 if (!irqchip_in_kernel(kvm)) { in kvm_arch_vcpu_run_pid_change()
1303 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()
1377 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
1389 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
1401 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
2725 return irqchip_in_kernel(kvm); in kvm_arch_irqchip_in_kernel()
Dsys_regs.c4804 irqchip_in_kernel(kvm) && in kvm_finalize_sys_regs()
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-init.c94 if (irqchip_in_kernel(kvm)) { in kvm_vgic_create()
258 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()
533 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
Dvgic.c925 if (unlikely(!irqchip_in_kernel(vcpu->kvm) || !vgic_initialized(vcpu->kvm))) { in kvm_vgic_load()
939 if (unlikely(!irqchip_in_kernel(vcpu->kvm) || !vgic_initialized(vcpu->kvm))) { in kvm_vgic_put()
/linux-6.12.1/arch/riscv/include/asm/
Dkvm_aia.h83 #define irqchip_in_kernel(k) ((k)->arch.aia.in_kernel) macro
/linux-6.12.1/arch/x86/kvm/vmx/
Dposted_intr.c137 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
Dvmx.c4704 if (!irqchip_in_kernel(kvm) || !enable_ipiv) in vmx_alloc_ipiv_pid_table()
/linux-6.12.1/include/kvm/
Darm_vgic.h393 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
/linux-6.12.1/arch/x86/kvm/svm/
Davic.c724 if (!enable_apicv || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()