Lines Matching +full:tcs +full:- +full:wait

1 // SPDX-License-Identifier: GPL-2.0-or-later
33 #include <asm/r4k-timer.h>
34 #include <asm/mips-cps.h>
46 /* Number of TCs (or siblings in Intel speak) per CPU core */
50 /* representing the TCs (or siblings in Intel speak) of each logical CPU */
54 /* representing the core map of multi-core chips of each logical CPU */
121 /* Re-calculate the mask */ in calculate_cpu_foreign_map()
341 mp_ops->init_secondary(); in start_secondary()
378 * irq will be enabled in ->smp_finish(), enabling it too early in start_secondary()
382 mp_ops->smp_finish(); in start_secondary()
412 current_thread_info()->cpu = 0; in smp_prepare_cpus()
413 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
426 if (mp_ops->prepare_boot_cpu) in smp_prepare_boot_cpu()
427 mp_ops->prepare_boot_cpu(); in smp_prepare_boot_cpu()
436 err = mp_ops->boot_secondary(cpu, tidle); in __cpu_up()
440 /* Wait for CPU to start and be ready to sync counters */ in __cpu_up()
444 return -EIO; in __cpu_up()
449 /* Wait for CPU to finish startup & mark itself online before return */ in __cpu_up()
526 * No need to worry about other CPUs - the ginvt in in flush_tlb_mm()
529 } else if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_mm()
554 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi()
559 struct mm_struct *mm = vma->vm_mm; in flush_tlb_range()
579 } else if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_range()
590 int exec = vma->vm_flags & VM_EXEC; in flush_tlb_range()
611 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi()
628 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi()
639 write_c0_memorymapid(cpu_asid(0, vma->vm_mm)); in flush_tlb_page()
646 } else if ((atomic_read(&vma->vm_mm->mm_users) != 1) || in flush_tlb_page()
647 (current->mm != vma->vm_mm)) { in flush_tlb_page()
665 if (cpu != smp_processor_id() && cpu_context(cpu, vma->vm_mm)) in flush_tlb_page()
666 set_cpu_context(cpu, vma->vm_mm, 1); in flush_tlb_page()
715 csd->func = tick_broadcast_callee; in tick_broadcast_init()