Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c86 struct dtl_entry *dtl; in alloc_dtl_buffers() local
92 dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL); in alloc_dtl_buffers()
93 if (!dtl) { in alloc_dtl_buffers()
103 pp->dispatch_log = dtl; in alloc_dtl_buffers()
104 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dtl_buffers()
105 pp->dtl_curr = dtl; in alloc_dtl_buffers()
118 struct dtl_entry *dtl; in register_dtl_buffer() local
122 dtl = pp->dispatch_log; in register_dtl_buffer()
123 if (dtl && dtl_mask) { in register_dtl_buffer()
125 pp->dtl_curr = dtl; in register_dtl_buffer()
[all …]
DMakefile22 obj-$(CONFIG_DTL) += dtl.o
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtime.c187 struct dtl_entry *dtl = local_paca->dtl_curr; in scan_dispatch_log() local
194 if (!dtl) in scan_dispatch_log()
200 dtb = be64_to_cpu(dtl->timebase); in scan_dispatch_log()
201 tb_delta = be32_to_cpu(dtl->enqueue_to_dispatch_time) + in scan_dispatch_log()
202 be32_to_cpu(dtl->ready_to_enqueue_time); in scan_dispatch_log()
207 dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); in scan_dispatch_log()
213 dtl_consumer(dtl, i); in scan_dispatch_log()
216 ++dtl; in scan_dispatch_log()
217 if (dtl == dtl_end) in scan_dispatch_log()
218 dtl = local_paca->dispatch_log; in scan_dispatch_log()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv.c554 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()
571 if (vpa_is_registered(&tvcpu->arch.dtl) || in do_h_register_vpa()
580 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()
655 vcpu->arch.dtl.update_pending)) in kvmppc_update_vpas()
664 if (vcpu->arch.dtl.update_pending) { in kvmppc_update_vpas()
665 kvmppc_update_vpa(vcpu, &vcpu->arch.dtl); in kvmppc_update_vpas()
666 vcpu->arch.dtl_ptr = vcpu->arch.dtl.pinned_addr; in kvmppc_update_vpas()
722 if (dt == vcpu->arch.dtl.pinned_end) in kvmppc_create_dtl_entry()
723 dt = vcpu->arch.dtl.pinned_addr; in kvmppc_create_dtl_entry()
728 vcpu->arch.dtl.dirty = true; in kvmppc_create_dtl_entry()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h805 struct kvmppc_vpa dtl; member