| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_xive.c | 248 struct kvmppc_xive *xive = xc->xive; in xive_provision_queue() local 257 qpage = (__be32 *)__get_free_pages(GFP_KERNEL, xive->q_page_order); in xive_provision_queue() 263 memset(qpage, 0, 1 << xive->q_order); in xive_provision_queue() 273 xive->q_order, true); in xive_provision_queue() 283 struct kvmppc_xive *xive = kvm->arch.xive; in xive_check_provisioning() local 287 lockdep_assert_held(&xive->lock); in xive_check_provisioning() 290 if (xive->qmap & (1 << prio)) in xive_check_provisioning() 300 if (rc == 0 && !xive->single_escalation) in xive_check_provisioning() 302 xive->single_escalation); in xive_check_provisioning() 309 xive->qmap |= (1 << prio); in xive_check_provisioning() [all …]
|
| H A D | book3s_xive_native.c | 98 if (xc->xive->single_escalation) in kvmppc_xive_native_cleanup_vcpu() 130 struct kvmppc_xive *xive = dev->private; in kvmppc_xive_native_connect_vcpu() local 141 if (xive->kvm != vcpu->kvm) in kvmppc_xive_native_connect_vcpu() 146 mutex_lock(&xive->lock); in kvmppc_xive_native_connect_vcpu() 148 rc = kvmppc_xive_compute_vp_id(xive, server_num, &vp_id); in kvmppc_xive_native_connect_vcpu() 159 xc->xive = xive; in kvmppc_xive_native_connect_vcpu() 177 rc = xive_native_enable_vp(xc->vp_id, xive->single_escalation); in kvmppc_xive_native_connect_vcpu() 189 mutex_unlock(&xive->lock); in kvmppc_xive_native_connect_vcpu() 201 struct kvmppc_xive *xive = kvm->arch.xive; in kvmppc_xive_native_reset_mapped() local 213 mutex_lock(&xive->mapping_lock); in kvmppc_xive_native_reset_mapped() [all …]
|
| H A D | book3s_xive.h | 150 struct kvmppc_xive *xive; member 208 static inline struct kvmppc_xive_src_block *kvmppc_xive_find_source(struct kvmppc_xive *xive, in kvmppc_xive_find_source() argument 218 return xive->src_blocks[bid]; in kvmppc_xive_find_source() 221 static inline u32 kvmppc_xive_vp(struct kvmppc_xive *xive, u32 server) in kvmppc_xive_vp() argument 223 return xive->vp_base + kvmppc_pack_vcpu_id(xive->kvm, server); in kvmppc_xive_vp() 294 struct kvmppc_xive *xive, int irq); 302 int kvmppc_xive_compute_vp_id(struct kvmppc_xive *xive, u32 cpu, u32 *vp); 303 int kvmppc_xive_set_nr_servers(struct kvmppc_xive *xive, u64 addr);
|
| H A D | book3s_xive_template.c | 376 static void GLUE(X_PFX,scan_for_rerouted_irqs)(struct kvmppc_xive *xive, in GLUE() 409 sb = kvmppc_xive_find_source(xive, irq, &src); in GLUE() 445 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; in GLUE() local 491 GLUE(X_PFX,scan_for_rerouted_irqs)(xive, xc); in GLUE() 503 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; in GLUE() local 536 sb = kvmppc_xive_find_source(xive, irq, &src); in GLUE()
|
| H A D | irq.h | 16 ret = ret || (kvm->arch.xive != NULL); in irqchip_in_kernel()
|
| H A D | powerpc.c | 1999 if (kvm->arch.xics || kvm->arch.xive) in kvm_arch_intc_initialized()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | 0016_let_ld_pointer_dma_function_take_MemTxAttrs_argument.patch | 33 @@ -172,7 +172,7 @@ static uint64_t pnv_xive_vst_addr_indirect(PnvXive *xive, uint32_t type, 42 @@ -195,7 +195,8 @@ static uint64_t pnv_xive_vst_addr_indirect(PnvXive *xive, uint32_t type, 52 @@ -542,7 +543,7 @@ static uint64_t pnv_xive_vst_per_subpage(PnvXive *xive, uint32_t type)
|
| H A D | 0018_let_ld_pointer_dma_function_propagate_MemTxResult.patch | 34 @@ -172,7 +172,7 @@ static uint64_t pnv_xive_vst_addr_indirect(PnvXive *xive, uint32_t type, 43 @@ -195,8 +195,8 @@ static uint64_t pnv_xive_vst_addr_indirect(PnvXive *xive, uint32_t type, 54 @@ -543,7 +543,7 @@ static uint64_t pnv_xive_vst_per_subpage(PnvXive *xive, uint32_t type)
|
| H A D | 0005_let_dma_memory_rw_function_take_MemTxAttrs_argument.patch | 35 mmio_addr = xive->vc_base + xive_source_esb_mgmt(xsrc, lisn) + offset;
|
| H A D | 0006_let_dma_memory_read_write_function_take_MemTxAttrs_argument.patch | 47 hw/intc/xive.c | 7 ++++--- 539 diff --git a/hw/intc/xive.c b/hw/intc/xive.c 541 --- a/hw/intc/xive.c 542 +++ b/hw/intc/xive.c
|
| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/devices/ |
| H A D | index.rst | 19 xive
|
| /OK3568_Linux_fs/kernel/arch/powerpc/sysdev/ |
| H A D | Kconfig | 29 source "arch/powerpc/sysdev/xive/Kconfig"
|
| H A D | Makefile | 52 obj-$(CONFIG_PPC_XIVE) += xive/
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | prom_init.c | 184 bool xive; member 1265 support->xive = !prom_xive_disable; in prom_parse_xive_model() 1276 support->xive = true; in prom_parse_xive_model() 1311 .xive = false in prom_check_platform_support() 1358 if (supported.xive) { in prom_check_platform_support()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | kvm_host.h | 330 struct kvmppc_xive *xive; /* Current XIVE device in use */ member
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 6225 xive= [PPC]
|