Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv.c5636 static int kvmppc_set_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi) in kvmppc_set_passthru_irq() argument
5673 host_irq, guest_gsi); in kvmppc_set_passthru_irq()
5684 if (guest_gsi == pimap->mapped[i].v_hwirq) { in kvmppc_set_passthru_irq()
5700 irq_map->v_hwirq = guest_gsi; in kvmppc_set_passthru_irq()
5721 rc = kvmppc_xive_set_mapped(kvm, guest_gsi, host_irq); in kvmppc_set_passthru_irq()
5723 kvmppc_xics_set_mapped(kvm, guest_gsi, irq_map->r_hwirq); in kvmppc_set_passthru_irq()
5732 static int kvmppc_clr_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi) in kvmppc_clr_passthru_irq() argument
5752 if (guest_gsi == pimap->mapped[i].v_hwirq) in kvmppc_clr_passthru_irq()
5762 rc = kvmppc_xive_clr_mapped(kvm, guest_gsi, host_irq); in kvmppc_clr_passthru_irq()
5764 kvmppc_xics_clr_mapped(kvm, guest_gsi, pimap->mapped[i].r_hwirq); in kvmppc_clr_passthru_irq()