Lines Matching +full:inter +full:- +full:processor

1 // SPDX-License-Identifier: GPL-2.0-only
42 #include <asm/processor.h>
75 * SGI8-15 can be reserved by secure firmware, and thus may
113 return cpu_vtable[cpu] ? 0 : -ENOMEM;
118 init_proc_vtable(lookup_processor(read_cpuid_id())->proc);
136 return -ENOSYS;
172 ret = -EIO;
250 * __cpu_disable runs on the processor to be shutdown.
273 * OK - migrate IRQs away from this CPU
282 * to write-back dirty lines to unified caches shared by all CPUs.
313 * Note that we disable IRQs here, but do not re-enable them
315 * of the other hotplug-cpu capable cores, so presumably coming
329 * before platform_cpu_kill() gets called - which may disable
368 * Do not return to the idle loop - jump back to the secondary
377 : "r" (task_stack_page(current) + THREAD_SIZE - 8),
387 * per-processor storage.
393 cpu_info->loops_per_jiffy = loops_per_jiffy;
394 cpu_info->cpuid = read_cpuid_id();
423 cpu_switch_mm(mm->pgd, mm);
434 current->active_mm = mm;
442 pr_debug("CPU%u: Booted secondary processor\n", cpu);
463 * before we continue - which happens after __cpu_up returns.
520 * re-initialize the map in the platforms smp_prepare_cpus()
554 seq_printf(p, "%*s%u:", prec - 1, "IPI", i);
596 * ipi_cpu_stop - handle IPI from smp_send_stop()
631 * Main handler for inter-processor interrupts
702 do_handle_IPI(irq - ipi_irq_base);
764 while (num_online_cpus() > 1 && timeout--)
797 struct cpumask *cpus = freq->policy->cpus;
801 if (freq->flags & CPUFREQ_CONST_LOOPS)
808 per_cpu(l_p_j_ref_freq, cpu) = freq->old;
813 global_l_p_j_ref_freq = freq->old;
817 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||
818 (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
821 freq->new);
824 per_cpu(l_p_j_ref_freq, first), freq->new);