Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/pseries/
Ddtl.c33 struct dtl { struct
41 static DEFINE_PER_CPU(struct dtl, cpu_dtl); argument
101 static int dtl_start(struct dtl *dtl) in dtl_start() argument
103 struct dtl_ring *dtlr = &per_cpu(dtl_rings, dtl->cpu); in dtl_start()
105 dtlr->buf = dtl->buf; in dtl_start()
106 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()
111 dtlr->write_ptr = dtl->buf; in dtl_start()
114 dtlr->saved_dtl_mask = lppaca_of(dtl->cpu).dtl_enable_mask; in dtl_start()
115 lppaca_of(dtl->cpu).dtl_enable_mask |= dtl_event_mask; in dtl_start()
122 static void dtl_stop(struct dtl *dtl) in dtl_stop() argument
[all …]
Dsetup.c259 struct dtl_entry *dtl; in alloc_dispatch_logs() local
269 dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL); in alloc_dispatch_logs()
270 if (!dtl) { in alloc_dispatch_logs()
278 pp->dispatch_log = dtl; in alloc_dispatch_logs()
279 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dispatch_logs()
280 pp->dtl_curr = dtl; in alloc_dispatch_logs()
284 dtl = get_paca()->dispatch_log; in alloc_dispatch_logs()
286 get_paca()->dtl_curr = dtl; in alloc_dispatch_logs()
290 dtl->enqueue_to_dispatch_time = cpu_to_be32(DISPATCH_LOG_BYTES); in alloc_dispatch_logs()
291 ret = register_dtl(hard_smp_processor_id(), __pa(dtl)); in alloc_dispatch_logs()
Dlpar.c73 struct dtl_entry *dtl; in vpa_init() local
115 dtl = pp->dispatch_log; in vpa_init()
116 if (dtl) { in vpa_init()
118 pp->dtl_curr = dtl; in vpa_init()
122 dtl->enqueue_to_dispatch_time = cpu_to_be32(DISPATCH_LOG_BYTES); in vpa_init()
123 ret = register_dtl(hwcpu, __pa(dtl)); in vpa_init()
DMakefile22 obj-$(CONFIG_DTL) += dtl.o
/Linux-v4.19/arch/powerpc/kernel/
Dtime.c196 struct dtl_entry *dtl = local_paca->dtl_curr; in scan_dispatch_log() local
203 if (!dtl) in scan_dispatch_log()
209 dtb = be64_to_cpu(dtl->timebase); in scan_dispatch_log()
210 tb_delta = be32_to_cpu(dtl->enqueue_to_dispatch_time) + in scan_dispatch_log()
211 be32_to_cpu(dtl->ready_to_enqueue_time); in scan_dispatch_log()
216 dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); in scan_dispatch_log()
222 dtl_consumer(dtl, i); in scan_dispatch_log()
225 ++dtl; in scan_dispatch_log()
226 if (dtl == dtl_end) in scan_dispatch_log()
227 dtl = local_paca->dispatch_log; in scan_dispatch_log()
[all …]
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv.c545 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()
562 if (vpa_is_registered(&tvcpu->arch.dtl) || in do_h_register_vpa()
571 vpap = &tvcpu->arch.dtl; in do_h_register_vpa()
646 vcpu->arch.dtl.update_pending)) in kvmppc_update_vpas()
655 if (vcpu->arch.dtl.update_pending) { in kvmppc_update_vpas()
656 kvmppc_update_vpa(vcpu, &vcpu->arch.dtl); in kvmppc_update_vpas()
657 vcpu->arch.dtl_ptr = vcpu->arch.dtl.pinned_addr; in kvmppc_update_vpas()
713 if (dt == vcpu->arch.dtl.pinned_end) in kvmppc_create_dtl_entry()
714 dt = vcpu->arch.dtl.pinned_addr; in kvmppc_create_dtl_entry()
719 vcpu->arch.dtl.dirty = true; in kvmppc_create_dtl_entry()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dkvm_host.h771 struct kvmppc_vpa dtl; member