Home
last modified time | relevance | path

Searched refs:qpage (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/powerpc/sysdev/xive/
Dspapr.c301 unsigned long qpage, in plpar_int_set_queue_config() argument
307 flags, target, priority, qpage, qsize); in plpar_int_set_queue_config()
311 priority, qpage, qsize); in plpar_int_set_queue_config()
316 target, priority, qpage, rc); in plpar_int_set_queue_config()
479 __be32 *qpage, u32 order) in xive_spapr_configure_queue() argument
488 if (WARN_ON(!qpage)) in xive_spapr_configure_queue()
490 qpage_phys = __pa(qpage); in xive_spapr_configure_queue()
521 q->qpage = qpage; in xive_spapr_configure_queue()
534 __be32 *qpage; in xive_spapr_setup_queue() local
536 qpage = xive_queue_page_alloc(cpu, xive_queue_shift); in xive_spapr_setup_queue()
[all …]
Dnative.c132 __be32 *qpage, u32 order, bool can_escalate) in xive_native_configure_queue() argument
141 if (WARN_ON(!qpage)) in xive_native_configure_queue()
143 qpage_phys = __pa(qpage); in xive_native_configure_queue()
188 q->qpage = qpage; in xive_native_configure_queue()
219 __be32 *qpage; in xive_native_setup_queue() local
221 qpage = xive_queue_page_alloc(cpu, xive_queue_shift); in xive_native_setup_queue()
222 if (IS_ERR(qpage)) in xive_native_setup_queue()
223 return PTR_ERR(qpage); in xive_native_setup_queue()
226 q, prio, qpage, xive_queue_shift, false); in xive_native_setup_queue()
240 free_pages((unsigned long)q->qpage, alloc_order); in xive_native_cleanup_queue()
[all …]
Dcommon.c107 if (!q->qpage) in xive_read_eq()
109 cur = be32_to_cpup(q->qpage + q->idx); in xive_read_eq()
260 if (!q->qpage) in xive_dump_eq()
263 i0 = be32_to_cpup(q->qpage + idx); in xive_dump_eq()
265 i1 = be32_to_cpup(q->qpage + idx); in xive_dump_eq()
1475 if (xc->queue[xive_irq_priority].qpage) in xive_cleanup_cpu_queues()
1484 if (!xc->queue[xive_irq_priority].qpage) in xive_setup_cpu_queues()
1696 __be32 *qpage; in xive_queue_page_alloc() local
1702 qpage = (__be32 *)page_address(pages); in xive_queue_page_alloc()
1703 memset(qpage, 0, 1 << queue_shift); in xive_queue_page_alloc()
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_xive.c143 __be32 *qpage; in xive_vm_scan_interrupts() local
171 qpage = READ_ONCE(q->qpage); in xive_vm_scan_interrupts()
178 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in xive_vm_scan_interrupts()
194 if (hirq == XICS_IPI || (prio == 0 && !qpage)) { in xive_vm_scan_interrupts()
402 __be32 *qpage; in xive_vm_scan_for_rerouted_irqs() local
407 qpage = READ_ONCE(q->qpage); in xive_vm_scan_for_rerouted_irqs()
408 if (!qpage) in xive_vm_scan_for_rerouted_irqs()
413 entry = be32_to_cpup(qpage + idx); in xive_vm_scan_for_rerouted_irqs()
436 qpage[idx] = cpu_to_be32((entry & 0x80000000) | XICS_DUMMY); in xive_vm_scan_for_rerouted_irqs()
941 void *qpage; in xive_provision_queue() local
[all …]
Dbook3s_xive.h273 static inline u32 __xive_read_eq(__be32 *qpage, u32 msk, u32 *idx, u32 *toggle) in __xive_read_eq() argument
277 if (!qpage) in __xive_read_eq()
279 cur = be32_to_cpup(qpage + *idx); in __xive_read_eq()
Dbook3s_xive_native.c50 if (q->qpage) { in kvmppc_xive_native_cleanup_queue()
51 put_page(virt_to_page(q->qpage)); in kvmppc_xive_native_cleanup_queue()
52 q->qpage = NULL; in kvmppc_xive_native_cleanup_queue()
57 u8 prio, __be32 *qpage, in kvmppc_xive_native_configure_queue() argument
61 __be32 *qpage_prev = q->qpage; in kvmppc_xive_native_configure_queue()
63 rc = xive_native_configure_queue(vp_id, q, prio, qpage, order, in kvmppc_xive_native_configure_queue()
750 if (!q->qpage) in kvmppc_xive_native_get_queue_config()
904 if (!q->qpage) in kvmppc_xive_native_vcpu_eq_sync()
/linux-6.1.9/arch/powerpc/include/asm/
Dxive.h75 __be32 *qpage; member
119 __be32 *qpage, u32 order, bool can_escalate);
Dopal.h259 uint64_t qpage,