Searched refs:xive (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/arch/powerpc/kvm/
H A Dbook3s_xive_native.c6 #define pr_fmt(fmt) "xive-kvm: " fmt
20 #include <asm/xive.h>
21 #include <asm/xive-regs.h>
95 if (kvmppc_xive_has_single_escalation(xc->xive))
126 struct kvmppc_xive *xive = dev->private; local
137 if (xive->kvm != vcpu->kvm)
142 mutex_lock(&xive->lock);
144 rc = kvmppc_xive_compute_vp_id(xive, server_num, &vp_id);
155 xc->xive = xive;
203 struct kvmppc_xive *xive = kvm->arch.xive; local
232 struct kvmppc_xive *xive = dev->private; local
312 struct kvmppc_xive *xive = dev->private; local
339 kvmppc_xive_native_set_source(struct kvmppc_xive *xive, long irq, u64 addr) argument
416 kvmppc_xive_native_update_source_config(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state, u32 server, u8 priority, bool masked, u32 eisn) argument
463 kvmppc_xive_native_set_source_config(struct kvmppc_xive *xive, long irq, u64 addr) argument
509 kvmppc_xive_native_sync_source(struct kvmppc_xive *xive, long irq, u64 addr) argument
559 kvmppc_xive_native_set_queue_config(struct kvmppc_xive *xive, long eq_idx, u64 addr) argument
707 kvmppc_xive_native_get_queue_config(struct kvmppc_xive *xive, long eq_idx, u64 addr) argument
805 kvmppc_xive_reset(struct kvmppc_xive *xive) argument
914 kvmppc_xive_native_eq_sync(struct kvmppc_xive *xive) argument
944 struct kvmppc_xive *xive = dev->private; local
976 struct kvmppc_xive *xive = dev->private; local
1016 struct kvmppc_xive *xive = dev->private; local
1093 struct kvmppc_xive *xive; local
1177 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; local
1213 struct kvmppc_xive *xive = m->private; local
1259 xive_native_debugfs_init(struct kvmppc_xive *xive) argument
1269 struct kvmppc_xive *xive = dev->private; local
[all...]
H A Dbook3s_xive.c6 #define pr_fmt(fmt) "xive-kvm: " fmt
22 #include <asm/xive.h>
23 #include <asm/xive-regs.h>
390 static void xive_vm_scan_for_rerouted_irqs(struct kvmppc_xive *xive, argument
423 sb = kvmppc_xive_find_source(xive, irq, &src);
459 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; local
500 * interrupt away, which flushes the xive, followed by the
505 xive_vm_scan_for_rerouted_irqs(xive, xc);
517 struct kvmppc_xive *xive local
674 struct kvmppc_xive *xive = xc->xive; local
939 struct kvmppc_xive *xive = xc->xive; local
974 struct kvmppc_xive *xive = kvm->arch.xive; local
1084 xive_lock_and_mask(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state) argument
1143 xive_finish_unmask(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state, u8 prio) argument
1187 struct kvmppc_xive *xive = kvm->arch.xive; local
1271 struct kvmppc_xive *xive = kvm->arch.xive; local
1372 struct kvmppc_xive *xive = kvm->arch.xive; local
1394 struct kvmppc_xive *xive = kvm->arch.xive; local
1433 struct kvmppc_xive *xive = kvm->arch.xive; local
1457 xive_restore_pending_irq(struct kvmppc_xive *xive, u32 irq) argument
1495 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; local
1554 struct kvmppc_xive *xive = kvm->arch.xive; local
1652 struct kvmppc_xive *xive = kvm->arch.xive; local
1733 struct kvmppc_xive *xive = kvm->arch.xive; local
1807 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; local
1867 kvmppc_xive_vcpu_id_valid(struct kvmppc_xive *xive, u32 cpu) argument
1875 kvmppc_xive_compute_vp_id(struct kvmppc_xive *xive, u32 cpu, u32 *vp) argument
1906 struct kvmppc_xive *xive = dev->private; local
2037 xive_pre_save_set_queued(struct kvmppc_xive *xive, u32 irq) argument
2067 xive_pre_save_mask_irq(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, u32 irq) argument
2087 xive_pre_save_unmask_irq(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, u32 irq) argument
2111 xive_pre_save_queue(struct kvmppc_xive *xive, struct xive_q *q) argument
2124 xive_pre_save_scan(struct kvmppc_xive *xive) argument
2163 xive_post_save_scan(struct kvmppc_xive *xive) argument
2183 xive_get_source(struct kvmppc_xive *xive, long irq, u64 addr) argument
2266 kvmppc_xive_create_src_block( struct kvmppc_xive *xive, int irq) argument
2305 xive_check_delayed_irq(struct kvmppc_xive *xive, u32 irq) argument
2326 xive_set_source(struct kvmppc_xive *xive, long irq, u64 addr) argument
2492 struct kvmppc_xive *xive = kvm->arch.xive; local
2526 kvmppc_xive_set_nr_servers(struct kvmppc_xive *xive, u64 addr) argument
2565 struct kvmppc_xive *xive = dev->private; local
2582 struct kvmppc_xive *xive = dev->private; local
2643 struct kvmppc_xive *xive = dev->private; local
2721 struct kvmppc_xive *xive = *kvm_xive_device; local
2738 struct kvmppc_xive *xive; local
2885 struct kvmppc_xive *xive = m->private; local
2956 xive_debugfs_init(struct kvmppc_xive *xive) argument
2966 struct kvmppc_xive *xive = dev->private; local
[all...]
H A Dbook3s_xive.h153 struct kvmppc_xive *xive; member in struct:kvmppc_xive_vcpu
211 static inline struct kvmppc_xive_src_block *kvmppc_xive_find_source(struct kvmppc_xive *xive, argument
221 return xive->src_blocks[bid];
235 static inline u32 kvmppc_xive_vp(struct kvmppc_xive *xive, u32 server) argument
237 return xive->vp_base + kvmppc_pack_vcpu_id(xive->kvm, server);
296 struct kvmppc_xive *xive, int irq);
303 int kvmppc_xive_compute_vp_id(struct kvmppc_xive *xive, u32 cpu, u32 *vp);
304 int kvmppc_xive_set_nr_servers(struct kvmppc_xive *xive, u64 addr);
307 static inline bool kvmppc_xive_has_single_escalation(struct kvmppc_xive *xive) argument
[all...]
H A Dbook3s_rtas.c16 #include <asm/xive.h>
123 { .name = "ibm,set-xive", .handler = kvm_rtas_set_xive },
124 { .name = "ibm,get-xive", .handler = kvm_rtas_get_xive },
H A Dbook3s_hv_builtin.c24 #include <asm/xive.h>
336 * ICP, the virtual ICP (based on affinity - the xive value in ICS).
H A Dpowerpc.c30 #include <asm/xive.h>
2027 if (kvm->arch.xics || kvm->arch.xive)
2163 ret = ret || (kvm->arch.xive != NULL);
H A Dbook3s.c34 #include <asm/xive.h>
/linux-master/arch/powerpc/sysdev/xics/
H A Dics-native.c104 u32 xive; local
116 xive = in_be32(ics_native_xive(in, vec));
117 xive = (xive & 0xff) | (server << 8);
118 out_be32(ics_native_xive(in, vec), xive); local
159 u32 xive; local
164 xive = in_be32(ics_native_xive(in, vec));
165 return (xive >> 8) & 0xfff;
/linux-master/arch/powerpc/platforms/pseries/
H A Dkexec.c14 #include <asm/xive.h>
H A Dsmp.c39 #include <asm/xive.h>
162 /* Cause IPI as setup by the interrupt controller (xics or xive) */
H A Dhotplug-cpu.c33 #include <asm/xive.h>
H A Dmsi.c17 #include <asm/xive.h>
/linux-master/arch/powerpc/sysdev/
H A DMakefile51 obj-$(CONFIG_PPC_XIVE) += xive/
/linux-master/arch/powerpc/platforms/powernv/
H A Dvas.c20 #include <asm/xive.h>
H A Dsmp.c28 #include <asm/xive.h>
319 /* Cause IPI as setup by the interrupt controller (xics or xive) */
H A Dsetup.c33 #include <asm/xive.h>
/linux-master/drivers/misc/ocxl/
H A Dafu_irq.c6 #include <asm/xive.h>
H A Dlink.c12 #include <asm/xive.h>
/linux-master/arch/powerpc/sysdev/xive/
H A Dspapr.c6 #define pr_fmt(fmt) "xive: " fmt
30 #include <asm/xive.h>
31 #include <asm/xive-regs.h>
36 #include "xive-internal.h"
800 pr_warn("WARNING: Ignoring cmdline option xive=off\n");
803 pr_warn("%s: Unknown xive support option: 0x%x\n",
850 reg = of_get_property(np, "ibm,xive-lisn-ranges", &len);
852 pr_err("Failed to read 'ibm,xive-lisn-ranges' property\n");
857 pr_err("invalid 'ibm,xive-lisn-ranges' property\n");
869 of_property_for_each_u32(np, "ibm,xive
[all...]
H A Dnative.c6 #define pr_fmt(fmt) "xive: " fmt
29 #include <asm/xive.h>
30 #include <asm/xive-regs.h>
34 #include "xive-internal.h"
246 return of_device_is_compatible(node, "ibm,opal-xive-vc");
499 if (of_property_read_u32(np, "ibm,xive-provision-page-size",
502 rc = of_property_count_elems_of_size(np, "ibm,xive-provision-chips", 4);
516 rc = of_property_read_u32_array(np, "ibm,xive-provision-chips",
524 xive_provision_cache = kmem_cache_create("xive-provision",
572 np = of_find_compatible_node(NULL, NULL, "ibm,opal-xive
[all...]
H A Dcommon.c6 #define pr_fmt(fmt) "xive: " fmt
30 #include <asm/xive.h>
31 #include <asm/xive-regs.h>
34 #include "xive-internal.h"
175 pr_crit("xive: got interrupt %d without descriptor, dropping\n",
215 * described in xive-regs.h
1713 __setup("xive=off", xive_off);
1726 __setup("xive.store-eoi=", xive_store_eoi_cmdline);
1835 xive_dir = debugfs_create_dir("xive", arch_debugfs_dir);
/linux-master/arch/powerpc/kernel/
H A Dprom_init.c182 bool xive; member in struct:platform_support
849 opt = prom_strstr(prom_cmd_line, "xive=off");
1300 support->xive = !prom_xive_disable;
1309 prom_printf("WARNING: Ignoring cmdline option xive=off\n");
1311 support->xive = true;
1317 prom_debug("Unknown xive support option: 0x%x\n", val);
1346 .xive = false
1395 if (supported.xive) {
/linux-master/arch/powerpc/include/asm/
H A Dkvm_host.h321 struct kvmppc_xive *xive; /* Current XIVE device in use */ member in struct:kvm_arch
H A Dkvm_ppc.h28 #include <asm/xive.h>
715 * Below the first "xive" is the "eXternal Interrupt Virtualization Engine"
716 * ie. P9 new interrupt controller, while the second "xive" is the legacy
/linux-master/drivers/scsi/cxlflash/
H A Docxl_hw.c20 #include <asm/xive.h>

Completed in 271 milliseconds

12