Home
last modified time | relevance | path

Searched refs:guest_irq (Results 1 – 9 of 9) sorted by relevance

/arch/x86/kvm/vmx/
Dposted_intr.c268 int pi_update_irte(struct kvm *kvm, unsigned int host_irq, uint32_t guest_irq, in pi_update_irte() argument
283 if (guest_irq >= irq_rt->nr_rt_entries || in pi_update_irte()
284 hlist_empty(&irq_rt->map[guest_irq])) { in pi_update_irte()
286 guest_irq, irq_rt->nr_rt_entries); in pi_update_irte()
290 hlist_for_each_entry(e, &irq_rt->map[guest_irq], link) { in pi_update_irte()
Dposted_intr.h96 int pi_update_irte(struct kvm *kvm, unsigned int host_irq, uint32_t guest_irq,
/arch/x86/kvm/svm/
Davic.c800 uint32_t guest_irq, bool set) in svm_update_pi_irte() argument
811 __func__, host_irq, guest_irq, set); in svm_update_pi_irte()
816 if (guest_irq >= irq_rt->nr_rt_entries || in svm_update_pi_irte()
817 hlist_empty(&irq_rt->map[guest_irq])) { in svm_update_pi_irte()
819 guest_irq, irq_rt->nr_rt_entries); in svm_update_pi_irte()
823 hlist_for_each_entry(e, &irq_rt->map[guest_irq], link) { in svm_update_pi_irte()
Dsvm.h540 uint32_t guest_irq, bool set);
/arch/powerpc/include/asm/
Dkvm_ppc.h616 extern void kvmppc_xics_set_mapped(struct kvm *kvm, unsigned long guest_irq,
618 extern void kvmppc_xics_clr_mapped(struct kvm *kvm, unsigned long guest_irq,
666 extern int kvmppc_xive_set_mapped(struct kvm *kvm, unsigned long guest_irq,
668 extern int kvmppc_xive_clr_mapped(struct kvm *kvm, unsigned long guest_irq,
704 static inline int kvmppc_xive_set_mapped(struct kvm *kvm, unsigned long guest_irq, in kvmppc_xive_set_mapped() argument
706 static inline int kvmppc_xive_clr_mapped(struct kvm *kvm, unsigned long guest_irq, in kvmppc_xive_clr_mapped() argument
/arch/powerpc/kvm/
Dbook3s_xive.c946 int kvmppc_xive_set_mapped(struct kvm *kvm, unsigned long guest_irq, in kvmppc_xive_set_mapped() argument
963 __func__, guest_irq, host_irq, hw_irq); in kvmppc_xive_set_mapped()
965 sb = kvmppc_xive_find_source(xive, guest_irq, &idx); in kvmppc_xive_set_mapped()
1006 xive->ops->reset_mapped(kvm, guest_irq); in kvmppc_xive_set_mapped()
1044 int kvmppc_xive_clr_mapped(struct kvm *kvm, unsigned long guest_irq, in kvmppc_xive_clr_mapped() argument
1057 pr_debug("%s: GIRQ 0x%lx host IRQ %ld\n", __func__, guest_irq, host_irq); in kvmppc_xive_clr_mapped()
1059 sb = kvmppc_xive_find_source(xive, guest_irq, &idx); in kvmppc_xive_clr_mapped()
1097 xive->ops->reset_mapped(kvm, guest_irq); in kvmppc_xive_clr_mapped()
Dbook3s_xive.h97 int (*reset_mapped)(struct kvm *kvm, unsigned long guest_irq);
/arch/x86/include/asm/
Dkvm_host.h1461 uint32_t guest_irq, bool set);
/arch/x86/kvm/
Dx86.c12413 uint32_t guest_irq, bool set) in kvm_arch_update_irqfd_routing() argument
12415 return static_call(kvm_x86_update_pi_irte)(kvm, host_irq, guest_irq, set); in kvm_arch_update_irqfd_routing()