Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Ddtl.c35 struct dtl { struct
43 static DEFINE_PER_CPU(struct dtl, cpu_dtl); argument
103 static int dtl_start(struct dtl *dtl) in dtl_start() argument
105 struct dtl_ring *dtlr = &per_cpu(dtl_rings, dtl->cpu); in dtl_start()
107 dtlr->buf = dtl->buf; in dtl_start()
108 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()
113 dtlr->write_ptr = dtl->buf; in dtl_start()
116 dtlr->saved_dtl_mask = lppaca_of(dtl->cpu).dtl_enable_mask; in dtl_start()
117 lppaca_of(dtl->cpu).dtl_enable_mask |= dtl_event_mask; in dtl_start()
124 static void dtl_stop(struct dtl *dtl) in dtl_stop() argument
[all …]
Dsetup.c293 struct dtl_entry *dtl; in alloc_dispatch_logs() local
303 dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL); in alloc_dispatch_logs()
304 if (!dtl) { in alloc_dispatch_logs()
312 pp->dispatch_log = dtl; in alloc_dispatch_logs()
313 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dispatch_logs()
314 pp->dtl_curr = dtl; in alloc_dispatch_logs()
318 dtl = get_paca()->dispatch_log; in alloc_dispatch_logs()
320 get_paca()->dtl_curr = dtl; in alloc_dispatch_logs()
324 dtl->enqueue_to_dispatch_time = DISPATCH_LOG_BYTES; in alloc_dispatch_logs()
325 ret = register_dtl(hard_smp_processor_id(), __pa(dtl)); in alloc_dispatch_logs()
Dlpar.c63 struct dtl_entry *dtl; in vpa_init() local
93 dtl = pp->dispatch_log; in vpa_init()
94 if (dtl) { in vpa_init()
96 pp->dtl_curr = dtl; in vpa_init()
100 dtl->enqueue_to_dispatch_time = DISPATCH_LOG_BYTES; in vpa_init()
101 ret = register_dtl(hwcpu, __pa(dtl)); in vpa_init()
DMakefile23 obj-$(CONFIG_DTL) += dtl.o
/arch/powerpc/kernel/
Dtime.c202 struct dtl_entry *dtl = local_paca->dtl_curr; in scan_dispatch_log() local
209 if (!dtl) in scan_dispatch_log()
216 dtl_consumer(dtl, i); in scan_dispatch_log()
217 dtb = dtl->timebase; in scan_dispatch_log()
218 tb_delta = dtl->enqueue_to_dispatch_time + in scan_dispatch_log()
219 dtl->ready_to_enqueue_time; in scan_dispatch_log()
224 dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); in scan_dispatch_log()
231 ++dtl; in scan_dispatch_log()
232 if (dtl == dtl_end) in scan_dispatch_log()
233 dtl = local_paca->dispatch_log; in scan_dispatch_log()
[all …]
/arch/powerpc/include/asm/
Dkvm_host.h85 struct dtl;
458 struct dtl *dtl; member
459 struct dtl *dtl_end;
/arch/powerpc/kvm/
Dbook3s_hv.c183 if (tvcpu->arch.dtl) in do_h_register_vpa()
184 kvmppc_unpin_guest_page(kvm, vcpu->arch.dtl); in do_h_register_vpa()
185 tvcpu->arch.dtl = va; in do_h_register_vpa()
199 if (tvcpu->arch.slb_shadow || tvcpu->arch.dtl) in do_h_register_vpa()
207 if (!tvcpu->arch.dtl) in do_h_register_vpa()
209 kvmppc_unpin_guest_page(kvm, tvcpu->arch.dtl); in do_h_register_vpa()
210 tvcpu->arch.dtl = NULL; in do_h_register_vpa()
515 if (vcpu->arch.dtl) in kvmppc_core_vcpu_free()
516 kvmppc_unpin_guest_page(vcpu->kvm, vcpu->arch.dtl); in kvmppc_core_vcpu_free()