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; in secondary_biglittle_prepare()
118 init_proc_vtable(lookup_processor(read_cpuid_id())->proc); in secondary_biglittle_init()
136 return -ENOSYS; in __cpu_up()
172 ret = -EIO; in __cpu_up()
250 * __cpu_disable runs on the processor to be shutdown.
273 * OK - migrate IRQs away from this CPU in __cpu_disable()
282 * to write-back dirty lines to unified caches shared by all CPUs. in __cpu_disable()
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 in arch_cpu_idle_dead()
368 * Do not return to the idle loop - jump back to the secondary in arch_cpu_idle_dead()
377 : "r" (task_stack_page(current) + THREAD_SIZE - 8), in arch_cpu_idle_dead()
387 * per-processor storage.
393 cpu_info->loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
394 cpu_info->cpuid = read_cpuid_id(); in smp_store_cpu_info()
423 cpu_switch_mm(mm->pgd, mm); in secondary_start_kernel()
434 current->active_mm = mm; in secondary_start_kernel()
442 pr_debug("CPU%u: Booted secondary processor\n", cpu); in secondary_start_kernel()
463 * before we continue - which happens after __cpu_up returns. in secondary_start_kernel()
520 * re-initialize the map in the platforms smp_prepare_cpus() in smp_prepare_cpus()
554 seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, in show_ipi_list()
597 * ipi_cpu_stop - handle IPI from smp_send_stop()
632 * Main handler for inter-processor interrupts
703 do_handle_IPI(irq - ipi_irq_base); in ipi_handler()
765 while (num_online_cpus() > 1 && timeout--) in smp_send_stop()
798 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback()
802 if (freq->flags & CPUFREQ_CONST_LOOPS) in cpufreq_callback()
809 per_cpu(l_p_j_ref_freq, cpu) = freq->old; in cpufreq_callback()
814 global_l_p_j_ref_freq = freq->old; in cpufreq_callback()
818 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) || in cpufreq_callback()
819 (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) { in cpufreq_callback()
822 freq->new); in cpufreq_callback()
825 per_cpu(l_p_j_ref_freq, first), freq->new); in cpufreq_callback()