/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/ |
D | spapr.c | 287 unsigned long qpage, in plpar_int_set_queue_config() argument 293 flags, target, priority, qpage, qsize); in plpar_int_set_queue_config() 297 priority, qpage, qsize); in plpar_int_set_queue_config() 302 target, priority, qpage, rc); in plpar_int_set_queue_config() 464 __be32 *qpage, u32 order) in xive_spapr_configure_queue() argument 473 if (WARN_ON(!qpage)) in xive_spapr_configure_queue() 475 qpage_phys = __pa(qpage); in xive_spapr_configure_queue() 506 q->qpage = qpage; in xive_spapr_configure_queue() 519 __be32 *qpage; in xive_spapr_setup_queue() local 521 qpage = xive_queue_page_alloc(cpu, xive_queue_shift); in xive_spapr_setup_queue() [all …]
|
D | native.c | 133 __be32 *qpage, u32 order, bool can_escalate) in xive_native_configure_queue() argument 142 if (WARN_ON(!qpage)) in xive_native_configure_queue() 144 qpage_phys = __pa(qpage); in xive_native_configure_queue() 189 q->qpage = qpage; in xive_native_configure_queue() 220 __be32 *qpage; in xive_native_setup_queue() local 222 qpage = xive_queue_page_alloc(cpu, xive_queue_shift); in xive_native_setup_queue() 223 if (IS_ERR(qpage)) in xive_native_setup_queue() 224 return PTR_ERR(qpage); in xive_native_setup_queue() 227 q, prio, qpage, xive_queue_shift, false); in xive_native_setup_queue() 241 free_pages((unsigned long)q->qpage, alloc_order); in xive_native_cleanup_queue() [all …]
|
D | common.c | 86 if (!q->qpage) in xive_read_eq() 88 cur = be32_to_cpup(q->qpage + q->idx); in xive_read_eq() 232 if (!q->qpage) in xive_dump_eq() 235 i0 = be32_to_cpup(q->qpage + idx); in xive_dump_eq() 237 i1 = be32_to_cpup(q->qpage + idx); in xive_dump_eq() 1331 if (xc->queue[xive_irq_priority].qpage) in xive_cleanup_cpu_queues() 1340 if (!xc->queue[xive_irq_priority].qpage) in xive_setup_cpu_queues() 1556 __be32 *qpage; in xive_queue_page_alloc() local 1562 qpage = (__be32 *)page_address(pages); in xive_queue_page_alloc() 1563 memset(qpage, 0, 1 << queue_shift); in xive_queue_page_alloc() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_xive_template.c | 125 __be32 *qpage; in GLUE() local 153 qpage = READ_ONCE(q->qpage); in GLUE() 160 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in GLUE() 176 if (hirq == XICS_IPI || (prio == 0 && !qpage)) { in GLUE() 388 __be32 *qpage; in GLUE() local 393 qpage = READ_ONCE(q->qpage); in GLUE() 394 if (!qpage) in GLUE() 399 entry = be32_to_cpup(qpage + idx); in GLUE() 422 qpage[idx] = cpu_to_be32((entry & 0x80000000) | XICS_DUMMY); in GLUE()
|
D | book3s_xive.c | 250 void *qpage; in xive_provision_queue() local 253 if (WARN_ON(q->qpage)) in xive_provision_queue() 257 qpage = (__be32 *)__get_free_pages(GFP_KERNEL, xive->q_page_order); in xive_provision_queue() 258 if (!qpage) { in xive_provision_queue() 263 memset(qpage, 0, 1 << xive->q_order); in xive_provision_queue() 272 rc = xive_native_configure_queue(xc->vp_id, q, prio, qpage, in xive_provision_queue() 345 if (WARN_ON(!q->qpage)) in xive_try_pick_queue() 1194 if (q->qpage) { in kvmppc_xive_cleanup_vcpu() 1195 free_pages((unsigned long)q->qpage, in kvmppc_xive_cleanup_vcpu() 1197 q->qpage = NULL; in kvmppc_xive_cleanup_vcpu() [all …]
|
D | book3s_xive.h | 259 static inline u32 __xive_read_eq(__be32 *qpage, u32 msk, u32 *idx, u32 *toggle) in __xive_read_eq() argument 263 if (!qpage) in __xive_read_eq() 265 cur = be32_to_cpup(qpage + *idx); in __xive_read_eq()
|
D | book3s_xive_native.c | 53 if (q->qpage) { in kvmppc_xive_native_cleanup_queue() 54 put_page(virt_to_page(q->qpage)); in kvmppc_xive_native_cleanup_queue() 55 q->qpage = NULL; in kvmppc_xive_native_cleanup_queue() 60 u8 prio, __be32 *qpage, in kvmppc_xive_native_configure_queue() argument 64 __be32 *qpage_prev = q->qpage; in kvmppc_xive_native_configure_queue() 66 rc = xive_native_configure_queue(vp_id, q, prio, qpage, order, in kvmppc_xive_native_configure_queue() 747 if (!q->qpage) in kvmppc_xive_native_get_queue_config() 901 if (!q->qpage) in kvmppc_xive_native_vcpu_eq_sync()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | xive.h | 75 __be32 *qpage; member 117 __be32 *qpage, u32 order, bool can_escalate);
|
D | opal.h | 262 uint64_t qpage,
|