Lines Matching refs:pcpu
791 unsigned int pcpu, u64 now,
803 dt->processor_id = cpu_to_be16(pcpu + vcpu->arch.ptid);
848 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + kvmppc_get_tb_offset(vcpu), stolen);
871 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now, stolen_delta);
1501 int thr, cpu, pcpu, nthreads;
1517 pcpu = READ_ONCE(v->cpu);
1518 if (pcpu >= 0)
1519 smp_call_function_single(pcpu, do_nothing, NULL, 1);
3291 static void kvmppc_prepare_radix_vcpu(struct kvm_vcpu *vcpu, int pcpu)
3312 * a vcpu moves from one pcpu to another, we need to tell
3316 if (prev_cpu != pcpu) {
3319 cpu_first_tlb_thread_sibling(pcpu))
3326 nested->prev_cpu[vcpu->arch.nested_vcpu_id] = pcpu;
3328 vcpu->arch.prev_cpu = pcpu;
3337 cpu = vc->pcpu;
3344 vcpu->cpu = vc->pcpu;
3349 tpaca->kvm_hstate.ptid = cpu - vc->pcpu;
3449 vc->pcpu = smp_processor_id();
3468 lp = &per_cpu(preempted_vcores, vc->pcpu);
3787 int pcpu, thr;
3839 pcpu = smp_processor_id();
3867 kvmppc_release_hwthread(pcpu + i);
3871 kvmppc_clear_host_core(pcpu);
3909 struct paca_struct *paca = paca_ptrs[pcpu + thr];
3957 pvc->pcpu = pcpu + thr;
3997 kvmppc_ipi_thread(pcpu + thr);
4051 kvmppc_set_host_core(pcpu);
4071 kvmppc_release_hwthread(pcpu + i);
4073 kvmppc_ipi_thread(pcpu + i);
4717 int trap, r, pcpu;
4753 pcpu = smp_processor_id();
4755 kvmppc_prepare_radix_vcpu(vcpu, pcpu);
4767 vcpu->cpu = pcpu;
4768 vcpu->arch.thread_cpu = pcpu;
4769 vc->pcpu = pcpu;