Home
last modified time | relevance | path

Searched refs:boot_cpuid (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.10/arch/alpha/kernel/
Dsys_marvel.c264 printk(" Interrupts reported to CPU at PE %u\n", boot_cpuid); in init_io7_irqs()
269 io7_redirect_irq(io7, &io7->csrs->HLT_CTL.csr, boot_cpuid); in init_io7_irqs()
270 io7_redirect_irq(io7, &io7->csrs->HPI_CTL.csr, boot_cpuid); in init_io7_irqs()
271 io7_redirect_irq(io7, &io7->csrs->CRD_CTL.csr, boot_cpuid); in init_io7_irqs()
272 io7_redirect_irq(io7, &io7->csrs->STV_CTL.csr, boot_cpuid); in init_io7_irqs()
273 io7_redirect_irq(io7, &io7->csrs->HEI_CTL.csr, boot_cpuid); in init_io7_irqs()
283 init_one_io7_lsi(io7, i, boot_cpuid); in init_io7_irqs()
285 init_one_io7_lsi(io7, 0x74, boot_cpuid); in init_io7_irqs()
286 init_one_io7_lsi(io7, 0x75, boot_cpuid); in init_io7_irqs()
296 init_one_io7_msi(io7, i, boot_cpuid); in init_io7_irqs()
Drtc.c164 if (smp_processor_id() != boot_cpuid) { in remote_read_time()
166 smp_call_function_single(boot_cpuid, do_remote_read, &x, 1); in remote_read_time()
183 if (smp_processor_id() != boot_cpuid) { in remote_set_time()
185 smp_call_function_single(boot_cpuid, do_remote_set, &x, 1); in remote_set_time()
Dsmp.c406 if (boot_cpuid != 0) { in setup_smp()
408 boot_cpuid); in setup_smp()
453 current_thread_info()->cpu = boot_cpuid; in smp_prepare_cpus()
455 smp_store_cpu_info(boot_cpuid); in smp_prepare_cpus()
456 smp_setup_percpu_timer(boot_cpuid); in smp_prepare_cpus()
460 init_cpu_possible(cpumask_of(boot_cpuid)); in smp_prepare_cpus()
461 init_cpu_present(cpumask_of(boot_cpuid)); in smp_prepare_cpus()
Dprocess.c96 if (cpuid != boot_cpuid) { in common_shutdown_1()
126 set_cpu_present(boot_cpuid, false); in common_shutdown_1()
127 set_cpu_possible(boot_cpuid, false); in common_shutdown_1()
Dproto.h120 extern int boot_cpuid;
Dsys_titan.c64 register int bcpu = boot_cpuid; in titan_update_irq_hw()
Dsetup.c88 int boot_cpuid; variable
458 boot_cpuid = hard_smp_processor_id(); in setup_arch()
Dsys_dp264.c51 register int bcpu = boot_cpuid; in tsunami_update_irq_hw()
Dcore_titan.c387 boot_cpuid = __hard_smp_processor_id(); in titan_init_arch()
/Linux-v5.10/arch/powerpc/kernel/
Dpaca.c24 #define boot_cpuid 0 macro
38 if (cpu == boot_cpuid) { in alloc_paca_data()
50 if (cpu == boot_cpuid) in alloc_paca_data()
155 if (cpu != boot_cpuid) { in new_slb_shadow()
334 memblock_free(__pa(paca_ptrs[boot_cpuid]->slb_shadow_ptr), in free_unused_pacas()
336 paca_ptrs[boot_cpuid]->slb_shadow_ptr = NULL; in free_unused_pacas()
Dsmp.c951 BUG_ON(boot_cpuid != smp_processor_id()); in smp_prepare_cpus()
954 smp_store_cpu_info(boot_cpuid); in smp_prepare_cpus()
955 cpu_callin_map[boot_cpuid] = 1; in smp_prepare_cpus()
987 cpumask_set_cpu(boot_cpuid, cpu_sibling_mask(boot_cpuid)); in smp_prepare_cpus()
988 cpumask_set_cpu(boot_cpuid, cpu_l2_cache_mask(boot_cpuid)); in smp_prepare_cpus()
991 cpumask_set_cpu(boot_cpuid, cpu_coregroup_mask(boot_cpuid)); in smp_prepare_cpus()
995 cpumask_set_cpu(boot_cpuid, in smp_prepare_cpus()
996 cpu_smallcore_mask(boot_cpuid)); in smp_prepare_cpus()
1005 BUG_ON(smp_processor_id() != boot_cpuid); in smp_prepare_boot_cpu()
1007 paca_ptrs[boot_cpuid]->__current = current; in smp_prepare_boot_cpu()
[all …]
Dsetup_64.c103 if (cpu_first_thread_sibling(boot_cpuid) == first) in setup_tlb_core_data()
104 first = boot_cpuid; in setup_tlb_core_data()
335 if (boot_cpuid != 0) { in early_setup()
339 setup_paca(paca_ptrs[boot_cpuid]); in early_setup()
Dprom.c353 boot_cpuid = found; in early_init_dt_scan_cpus()
391 allocate_paca(boot_cpuid); in early_init_dt_scan_cpus()
803 if (boot_cpuid < 0) { in early_init_devtree()
Dsetup-common.c84 int boot_cpuid = -1; variable
85 EXPORT_SYMBOL_GPL(boot_cpuid);
/Linux-v5.10/arch/powerpc/platforms/cell/
Dsmp.c103 if (cpu != boot_cpuid) in smp_cell_setup_cpu()
156 cpumask_clear_cpu(boot_cpuid, &of_spin_map); in smp_init_cell()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dsmp.c60 else if (cpu != boot_cpuid) in pnv_smp_setup_cpu()
140 if (cpu == boot_cpuid) in pnv_smp_cpu_disable()
141 boot_cpuid = cpumask_any(cpu_online_mask); in pnv_smp_cpu_disable()
/Linux-v5.10/arch/powerpc/mm/nohash/
Dmmu_context.c419 if (cpu == boot_cpuid) in mmu_ctx_cpu_prepare()
430 if (cpu == boot_cpuid) in mmu_ctx_cpu_dead()
469 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
470 if (!stale_map[boot_cpuid]) in mmu_context_init()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dsmp.c131 else if (cpu != boot_cpuid) in smp_setup_cpu()
279 cpumask_clear_cpu(boot_cpuid, of_spin_mask); in smp_init_pseries()
Dhotplug-cpu.c85 if (cpu == boot_cpuid) in pseries_cpu_disable()
86 boot_cpuid = cpumask_any(cpu_online_mask); in pseries_cpu_disable()
Dsetup.c795 vpa_init(boot_cpuid); in pSeries_setup_arch()
/Linux-v5.10/arch/powerpc/sysdev/xics/
Dxics-common.c52 np = of_get_cpu_node(boot_cpuid, NULL); in xics_update_irq_servers()
55 hcpuid = get_hard_smp_processor_id(boot_cpuid); in xics_update_irq_servers()
/Linux-v5.10/arch/powerpc/include/asm/
Dsmp.h28 extern int boot_cpuid;
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dradix_pgtable.c598 if (smp_processor_id() == boot_cpuid) { in setup_kuep()
618 if (smp_processor_id() == boot_cpuid) { in setup_kuap()
Dslb.c610 if (raw_smp_processor_id() != boot_cpuid && in slb_initialize()
/Linux-v5.10/arch/powerpc/sysdev/xive/
Dcommon.c1383 if (smp_processor_id() != boot_cpuid) in xive_smp_setup_cpu()

12