Lines Matching refs:server
211 static void xive_inc_q_pending(struct kvm *kvm, u32 server, u8 prio) in xive_inc_q_pending() argument
218 vcpu = kvmppc_xive_find_server(kvm, server); in xive_inc_q_pending()
220 pr_warn("%s: Can't find server %d\n", __func__, server); in xive_inc_q_pending()
251 static int xive_select_target(struct kvm *kvm, u32 *server, u8 prio) in xive_select_target() argument
257 vcpu = kvmppc_xive_find_server(kvm, *server); in xive_select_target()
259 pr_devel("Can't find server %d\n", *server); in xive_select_target()
263 pr_devel("Finding irq target on 0x%x/%d...\n", *server, prio); in xive_select_target()
278 *server = vcpu->arch.xive_vcpu->server_num; in xive_select_target()
279 pr_devel(" found on 0x%x/%d\n", *server, prio); in xive_select_target()
428 u32 server, u8 prio) in xive_target_interrupt() argument
439 rc = xive_select_target(kvm, &server, prio); in xive_target_interrupt()
461 state->act_server = server; in xive_target_interrupt()
467 xive->vp_base + server, in xive_target_interrupt()
511 int kvmppc_xive_set_xive(struct kvm *kvm, u32 irq, u32 server, in kvmppc_xive_set_xive() argument
525 irq, server, priority); in kvmppc_xive_set_xive()
588 (state->act_server != server || in kvmppc_xive_set_xive()
590 rc = xive_target_interrupt(kvm, state, server, new_act_prio); in kvmppc_xive_set_xive()
609 int kvmppc_xive_get_xive(struct kvm *kvm, u32 irq, u32 *server, in kvmppc_xive_get_xive() argument
625 *server = state->act_server; in kvmppc_xive_get_xive()
1448 u32 server; in xive_set_source() local
1474 server = val & KVM_XICS_DESTINATION_MASK; in xive_set_source()
1478 val, server, guest_prio); in xive_set_source()
1531 server, act_prio); in xive_set_source()