Home
last modified time | relevance | path

Searched refs:dtl (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/arch/powerpc/platforms/pseries/
Ddtl.c21 struct dtl { struct
28 static DEFINE_PER_CPU(struct dtl, cpu_dtl); argument
81 static int dtl_start(struct dtl *dtl) in dtl_start() argument
83 struct dtl_ring *dtlr = &per_cpu(dtl_rings, dtl->cpu); in dtl_start()
85 dtlr->buf = dtl->buf; in dtl_start()
86 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()
91 dtlr->write_ptr = dtl->buf; in dtl_start()
94 lppaca_of(dtl->cpu).dtl_enable_mask |= dtl_event_mask; in dtl_start()
101 static void dtl_stop(struct dtl *dtl) in dtl_stop() argument
103 struct dtl_ring *dtlr = &per_cpu(dtl_rings, dtl->cpu); in dtl_stop()
[all …]
Dlpar.c87 struct dtl_entry *dtl; in alloc_dtl_buffers() local
93 dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL); in alloc_dtl_buffers()
94 if (!dtl) { in alloc_dtl_buffers()
104 pp->dispatch_log = dtl; in alloc_dtl_buffers()
105 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dtl_buffers()
106 pp->dtl_curr = dtl; in alloc_dtl_buffers()
119 struct dtl_entry *dtl; in register_dtl_buffer() local
123 dtl = pp->dispatch_log; in register_dtl_buffer()
124 if (dtl && dtl_mask) { in register_dtl_buffer()
126 pp->dtl_curr = dtl; in register_dtl_buffer()
[all …]
DMakefile22 obj-$(CONFIG_DTL) += dtl.o
/Linux-v5.15/arch/powerpc/kernel/
Dtime.c188 struct dtl_entry *dtl = local_paca->dtl_curr; in scan_dispatch_log() local
195 if (!dtl) in scan_dispatch_log()
201 dtb = be64_to_cpu(dtl->timebase); in scan_dispatch_log()
202 tb_delta = be32_to_cpu(dtl->enqueue_to_dispatch_time) + in scan_dispatch_log()
203 be32_to_cpu(dtl->ready_to_enqueue_time); in scan_dispatch_log()
208 dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); in scan_dispatch_log()
214 dtl_consumer(dtl, i); in scan_dispatch_log()
217 ++dtl; in scan_dispatch_log()
218 if (dtl == dtl_end) in scan_dispatch_log()
219 dtl = local_paca->dispatch_log; in scan_dispatch_log()
[all …]
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_hv.c549 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()
566 if (vpa_is_registered(&tvcpu->arch.dtl) || in do_h_register_vpa()
575 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()
650 vcpu->arch.dtl.update_pending)) in kvmppc_update_vpas()
659 if (vcpu->arch.dtl.update_pending) { in kvmppc_update_vpas()
660 kvmppc_update_vpa(vcpu, &vcpu->arch.dtl); in kvmppc_update_vpas()
661 vcpu->arch.dtl_ptr = vcpu->arch.dtl.pinned_addr; in kvmppc_update_vpas()
717 if (dt == vcpu->arch.dtl.pinned_end) in kvmppc_create_dtl_entry()
718 dt = vcpu->arch.dtl.pinned_addr; in kvmppc_create_dtl_entry()
723 vcpu->arch.dtl.dirty = true; in kvmppc_create_dtl_entry()
[all …]
/Linux-v5.15/arch/powerpc/include/asm/
Dkvm_host.h799 struct kvmppc_vpa dtl; member