Lines Matching +full:ipi +full:- +full:id
1 /* SPDX-License-Identifier: GPL-2.0-only */
24 * pass-through but it's easier to keep around as the same
25 * guest interrupt can alternatively be emulated or pass-through
36 u32 ipi_number; /* XIVE IPI HW number */
37 struct xive_irq_data ipi_data; /* XIVE IPI associated data */
38 u32 pt_number; /* XIVE Pass-through number if any */
39 struct xive_irq_data *pt_data; /* XIVE Pass-through associated data */
53 bool lsi; /* level-sensitive interrupt */
66 /* Select the "right" interrupt (IPI vs. passthrough) */
71 if (state->pt_number) { in kvmppc_xive_select_irq()
73 *out_hw_irq = state->pt_number; in kvmppc_xive_select_irq()
75 *out_xd = state->pt_data; in kvmppc_xive_select_irq()
78 *out_hw_irq = state->ipi_number; in kvmppc_xive_select_irq()
80 *out_xd = &state->ipi_data; in kvmppc_xive_select_irq()
90 u16 id; member
157 /* Server number. This is the HW CPU ID from a guest perspective */
168 /* IPI used for sending ... IPIs */
205 if (vcpu->arch.xive_vcpu && nr == vcpu->arch.xive_vcpu->server_num) in kvmppc_xive_find_server()
221 return xive->src_blocks[bid]; in kvmppc_xive_find_source()
230 * Currently, the VP identifiers are deduced from the vCPU id using
237 return xive->vp_base + kvmppc_pack_vcpu_id(xive->kvm, server); in kvmppc_xive_vp()
246 if (vcpu->arch.xive_vcpu && vp_id == vcpu->arch.xive_vcpu->vp_id) in kvmppc_xive_vp_in_use()
289 * Common Xive routines for XICS-over-XIVE and XIVE native
309 return xive->flags & KVMPPC_XIVE_FLAG_SINGLE_ESCALATION; in kvmppc_xive_has_single_escalation()