Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 27) sorted by relevance

12

/arch/powerpc/sysdev/xics/
Dics-opal.c30 static int ics_opal_mangle_server(int server) in ics_opal_mangle_server() argument
33 return server << 2; in ics_opal_mangle_server()
36 static int ics_opal_unmangle_server(int server) in ics_opal_unmangle_server() argument
39 return server >> 2; in ics_opal_unmangle_server()
46 int server; in ics_opal_unmask_irq() local
53 server = xics_get_irq_server(d->irq, irq_data_get_affinity_mask(d), 0); in ics_opal_unmask_irq()
54 server = ics_opal_mangle_server(server); in ics_opal_unmask_irq()
56 rc = opal_set_xive(hw_irq, server, DEFAULT_PRIORITY); in ics_opal_unmask_irq()
60 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq()
71 int server = ics_opal_mangle_server(xics_default_server); in ics_opal_mask_real_irq() local
[all …]
Dics-native.c50 unsigned int server; in ics_native_unmask_irq() local
57 server = xics_get_irq_server(d->irq, irq_data_get_affinity_mask(d), 0); in ics_native_unmask_irq()
58 out_be32(ics_native_xive(in, vec), (server << 8) | DEFAULT_PRIORITY); in ics_native_unmask_irq()
103 int server; in ics_native_set_affinity() local
109 server = xics_get_irq_server(d->irq, cpumask, 1); in ics_native_set_affinity()
110 if (server == -1) { in ics_native_set_affinity()
117 xive = (xive & 0xff) | (server << 8); in ics_native_set_affinity()
Dics-rtas.c31 int server; in ics_rtas_unmask_irq() local
38 server = xics_get_irq_server(d->irq, irq_data_get_affinity_mask(d), 0); in ics_rtas_unmask_irq()
40 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, server, in ics_rtas_unmask_irq()
45 __func__, hw_irq, server, call_status); in ics_rtas_unmask_irq()
Dxics-common.c200 long server; in xics_migrate_irqs_away() local
225 server = xics_ics->get_server(xics_ics, irq); in xics_migrate_irqs_away()
226 if (server < 0) { in xics_migrate_irqs_away()
236 if (server != hw_cpu) in xics_migrate_irqs_away()
286 int server = cpumask_first_and(cpu_online_mask, cpumask); in xics_get_irq_server() local
288 if (server < nr_cpu_ids) in xics_get_irq_server()
289 return get_hard_smp_processor_id(server); in xics_get_irq_server()
/arch/powerpc/kvm/
Dbook3s_rtas.c21 u32 irq, server, priority; in kvm_rtas_set_xive() local
30 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive()
34 rc = kvmppc_xive_set_xive(vcpu->kvm, irq, server, priority); in kvm_rtas_set_xive()
36 rc = kvmppc_xics_set_xive(vcpu->kvm, irq, server, priority); in kvm_rtas_set_xive()
45 u32 irq, server, priority; in kvm_rtas_get_xive() local
55 server = priority = 0; in kvm_rtas_get_xive()
57 rc = kvmppc_xive_get_xive(vcpu->kvm, irq, &server, &priority); in kvm_rtas_get_xive()
59 rc = kvmppc_xics_get_xive(vcpu->kvm, irq, &server, &priority); in kvm_rtas_get_xive()
65 args->rets[1] = cpu_to_be32(server); in kvm_rtas_get_xive()
Dbook3s_xics.c142 u32 server, u32 priority, u32 saved_priority) in write_xive() argument
150 state->server = server; in write_xive()
166 int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server, u32 priority) in kvmppc_xics_set_xive() argument
182 icp = kvmppc_xics_find_server(kvm, server); in kvmppc_xics_set_xive()
187 irq, server, priority, in kvmppc_xics_set_xive()
190 if (write_xive(xics, ics, state, server, priority, priority)) in kvmppc_xics_set_xive()
196 int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server, u32 *priority) in kvmppc_xics_get_xive() argument
214 *server = state->server; in kvmppc_xics_get_xive()
238 icp = kvmppc_xics_find_server(kvm, state->server); in kvmppc_xics_int_on()
242 if (write_xive(xics, ics, state, state->server, state->saved_priority, in kvmppc_xics_int_on()
[all …]
Dbook3s_xive_native.c420 u32 server, u8 priority, bool masked, in kvmppc_xive_native_update_source_config() argument
429 if (state->act_server == server && state->act_priority == priority && in kvmppc_xive_native_update_source_config()
434 priority, server, masked, state->act_server, in kvmppc_xive_native_update_source_config()
440 rc = kvmppc_xive_select_target(kvm, &server, priority); in kvmppc_xive_native_update_source_config()
445 state->act_server = server; in kvmppc_xive_native_update_source_config()
449 kvmppc_xive_vp(xive, server), in kvmppc_xive_native_update_source_config()
472 u32 server; in kvmppc_xive_native_set_source_config() local
493 server = (kvm_cfg & KVM_XIVE_SOURCE_SERVER_MASK) >> in kvmppc_xive_native_set_source_config()
502 priority, server); in kvmppc_xive_native_set_source_config()
506 return kvmppc_xive_native_update_source_config(xive, sb, state, server, in kvmppc_xive_native_set_source_config()
[all …]
Dbook3s_xive.h235 static inline u32 kvmppc_xive_vp(struct kvmppc_xive *xive, u32 server) in kvmppc_xive_vp() argument
237 return xive->vp_base + kvmppc_pack_vcpu_id(xive->kvm, server); in kvmppc_xive_vp()
289 extern unsigned long xive_rm_h_ipoll(struct kvm_vcpu *vcpu, unsigned long server);
290 extern int xive_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server,
305 int kvmppc_xive_select_target(struct kvm *kvm, u32 *server, u8 prio);
Dbook3s_xive_template.c318 X_STATIC unsigned long GLUE(X_PFX,h_ipoll)(struct kvm_vcpu *vcpu, unsigned long server) in GLUE()
324 pr_devel("H_IPOLL(server=%ld)\n", server); in GLUE()
329 if (xc->server_num != server) { in GLUE()
330 vcpu = kvmppc_xive_find_server(vcpu->kvm, server); in GLUE()
601 X_STATIC int GLUE(X_PFX,h_ipi)(struct kvm_vcpu *vcpu, unsigned long server, in GLUE()
606 pr_devel("H_IPI(server=%08lx,mfrr=%ld)\n", server, mfrr); in GLUE()
611 vcpu = kvmppc_xive_find_server(vcpu->kvm, server); in GLUE()
Dbook3s_xive.c399 static void xive_inc_q_pending(struct kvm *kvm, u32 server, u8 prio) in xive_inc_q_pending() argument
406 vcpu = kvmppc_xive_find_server(kvm, server); in xive_inc_q_pending()
408 pr_warn("%s: Can't find server %d\n", __func__, server); in xive_inc_q_pending()
439 int kvmppc_xive_select_target(struct kvm *kvm, u32 *server, u8 prio) in kvmppc_xive_select_target() argument
445 vcpu = kvmppc_xive_find_server(kvm, *server); in kvmppc_xive_select_target()
447 pr_devel("Can't find server %d\n", *server); in kvmppc_xive_select_target()
451 pr_devel("Finding irq target on 0x%x/%d...\n", *server, prio); in kvmppc_xive_select_target()
466 *server = vcpu->arch.xive_vcpu->server_num; in kvmppc_xive_select_target()
467 pr_devel(" found on 0x%x/%d\n", *server, prio); in kvmppc_xive_select_target()
578 u32 server, u8 prio) in xive_target_interrupt() argument
[all …]
Dbook3s_xics.h38 u32 server; member
146 extern int xics_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server,
Dbook3s_hv_builtin.c516 unsigned long kvmppc_rm_h_ipoll(struct kvm_vcpu *vcpu, unsigned long server) in kvmppc_rm_h_ipoll() argument
521 return xive_rm_h_ipoll(vcpu, server); in kvmppc_rm_h_ipoll()
526 int kvmppc_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server, in kvmppc_rm_h_ipi() argument
532 return xive_rm_h_ipi(vcpu, server, mfrr); in kvmppc_rm_h_ipi()
534 return xics_rm_h_ipi(vcpu, server, mfrr); in kvmppc_rm_h_ipi()
Dbook3s_hv_rm_xics.c314 if (!icp || state->server != icp->server_num) { in icp_rm_deliver_irq()
315 icp = kvmppc_xics_find_server(xics->kvm, state->server); in icp_rm_deliver_irq()
521 int xics_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server, in xics_rm_h_ipi() argument
534 local = this_icp->server_num == server; in xics_rm_h_ipi()
538 icp = kvmppc_xics_find_server(vcpu->kvm, server); in xics_rm_h_ipi()
/arch/powerpc/boot/dts/
Dps3.dts38 * threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
49 ibm,ppc-interrupt-server#s = <0x0 0x1>;
Dmicrowatt.dts74 ibm,ppc-interrupt-server#s = <0>;
106 ibm,interrupt-server-ranges = <0x0 0x1>;
/arch/powerpc/include/asm/
Dkvm_ppc.h233 extern int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server,
235 extern int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server,
656 extern int kvmppc_xive_set_xive(struct kvm *kvm, u32 irq, u32 server,
658 extern int kvmppc_xive_get_xive(struct kvm *kvm, u32 irq, u32 *server,
694 static inline int kvmppc_xive_set_xive(struct kvm *kvm, u32 irq, u32 server, in kvmppc_xive_set_xive() argument
696 static inline int kvmppc_xive_get_xive(struct kvm *kvm, u32 irq, u32 *server, in kvmppc_xive_get_xive() argument
782 unsigned long kvmppc_rm_h_ipoll(struct kvm_vcpu *vcpu, unsigned long server);
783 int kvmppc_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server,
Dopal.h77 int64_t opal_set_xive(uint32_t isn, uint16_t server, uint8_t priority);
78 int64_t opal_get_xive(uint32_t isn, __be16 *server, uint8_t *priority);
/arch/powerpc/platforms/40x/
DKconfig46 This option enables support for PlatHome OpenBlockS 600 server
/arch/arm/boot/dts/
Dkirkwood-guruplug-server-plus.dts9 …compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281…
Darmada-xp-98dx3236.dtsi217 dfx: dfx-server@ac000000 {
218 compatible = "marvell,dfx-server", "simple-bus";
/arch/x86/
DKconfig.debug24 with klogd/syslogd or the X server. You should normally say N here,
37 with klogd/syslogd or the X server. You should normally say N here,
/arch/mips/
DKconfig.debug14 doesn't cooperate with an X server. You should normally say N here,
/arch/powerpc/platforms/
DKconfig.cputype20 The most common ones are the desktop and server CPUs (603,
89 The most common ones are the desktop and server CPUs
/arch/arm64/
DKconfig.platforms292 server processors.
/arch/ia64/
DKconfig300 server systems. If in doubt, say N.

12