Searched refs:xive (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_xive.c | 390 static void xive_vm_scan_for_rerouted_irqs(struct kvmppc_xive *xive, in xive_vm_scan_for_rerouted_irqs() argument 423 sb = kvmppc_xive_find_source(xive, irq, &src); in xive_vm_scan_for_rerouted_irqs() 459 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; in xive_vm_h_cppr() local 505 xive_vm_scan_for_rerouted_irqs(xive, xc); in xive_vm_h_cppr() 517 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; in xive_vm_h_eoi() local 550 sb = kvmppc_xive_find_source(xive, irq, &src); in xive_vm_h_eoi() 674 struct kvmppc_xive *xive = xc->xive; in kvmppc_xive_check_save_restore() local 676 if (xive->flags & KVMPPC_XIVE_FLAG_SAVE_RESTORE) in kvmppc_xive_check_save_restore() 939 struct kvmppc_xive *xive = xc->xive; in xive_provision_queue() local 948 qpage = (__be32 *)__get_free_pages(GFP_KERNEL, xive->q_page_order); in xive_provision_queue() [all …]
|
D | book3s_xive_native.c | 95 if (kvmppc_xive_has_single_escalation(xc->xive)) in kvmppc_xive_native_cleanup_vcpu() 126 struct kvmppc_xive *xive = dev->private; in kvmppc_xive_native_connect_vcpu() local 137 if (xive->kvm != vcpu->kvm) in kvmppc_xive_native_connect_vcpu() 142 mutex_lock(&xive->lock); in kvmppc_xive_native_connect_vcpu() 144 rc = kvmppc_xive_compute_vp_id(xive, server_num, &vp_id); in kvmppc_xive_native_connect_vcpu() 155 xc->xive = xive; in kvmppc_xive_native_connect_vcpu() 179 rc = xive_native_enable_vp(xc->vp_id, kvmppc_xive_has_single_escalation(xive)); in kvmppc_xive_native_connect_vcpu() 191 mutex_unlock(&xive->lock); in kvmppc_xive_native_connect_vcpu() 203 struct kvmppc_xive *xive = kvm->arch.xive; in kvmppc_xive_native_reset_mapped() local 215 mutex_lock(&xive->mapping_lock); in kvmppc_xive_native_reset_mapped() [all …]
|
D | book3s_xive.h | 153 struct kvmppc_xive *xive; member 211 static inline struct kvmppc_xive_src_block *kvmppc_xive_find_source(struct kvmppc_xive *xive, in kvmppc_xive_find_source() argument 221 return xive->src_blocks[bid]; in kvmppc_xive_find_source() 235 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() 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) in kvmppc_xive_has_single_escalation() argument 309 return xive->flags & KVMPPC_XIVE_FLAG_SINGLE_ESCALATION; in kvmppc_xive_has_single_escalation()
|
D | powerpc.c | 2029 if (kvm->arch.xics || kvm->arch.xive) in kvm_arch_intc_initialized() 2165 ret = ret || (kvm->arch.xive != NULL); in kvm_arch_irqchip_in_kernel()
|
/linux-6.12.1/arch/powerpc/sysdev/xics/ |
D | ics-native.c | 104 u32 xive; in ics_native_set_affinity() local 116 xive = in_be32(ics_native_xive(in, vec)); in ics_native_set_affinity() 117 xive = (xive & 0xff) | (server << 8); in ics_native_set_affinity() 118 out_be32(ics_native_xive(in, vec), xive); in ics_native_set_affinity() 159 u32 xive; in ics_native_get_server() local 164 xive = in_be32(ics_native_xive(in, vec)); in ics_native_get_server() 165 return (xive >> 8) & 0xfff; in ics_native_get_server()
|
/linux-6.12.1/Documentation/virt/kvm/devices/ |
D | index.rst | 19 xive
|
/linux-6.12.1/arch/powerpc/sysdev/ |
D | Kconfig | 23 source "arch/powerpc/sysdev/xive/Kconfig"
|
D | Makefile | 49 obj-$(CONFIG_PPC_XIVE) += xive/
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | prom_init.c | 182 bool xive; member 1300 support->xive = !prom_xive_disable; in prom_parse_xive_model() 1311 support->xive = true; in prom_parse_xive_model() 1346 .xive = false in prom_check_platform_support() 1395 if (supported.xive) { in prom_check_platform_support()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_host.h | 321 struct kvmppc_xive *xive; /* Current XIVE device in use */ member
|
/linux-6.12.1/Documentation/admin-guide/ |
D | kernel-parameters.txt | 7651 xive= [PPC] 7660 xive.store-eoi=off [PPC]
|