Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/alpha/kernel/
H A 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()
H A Drtc.c169 if (smp_processor_id() != boot_cpuid) { in remote_read_time()
171 smp_call_function_single(boot_cpuid, do_remote_read, &x, 1); in remote_read_time()
188 if (smp_processor_id() != boot_cpuid) { in remote_set_time()
190 smp_call_function_single(boot_cpuid, do_remote_set, &x, 1); in remote_set_time()
H A Dsmp.c405 if (boot_cpuid != 0) { in setup_smp()
407 boot_cpuid); in setup_smp()
452 current_thread_info()->cpu = boot_cpuid; in smp_prepare_cpus()
454 smp_store_cpu_info(boot_cpuid); in smp_prepare_cpus()
455 smp_setup_percpu_timer(boot_cpuid); in smp_prepare_cpus()
459 init_cpu_possible(cpumask_of(boot_cpuid)); in smp_prepare_cpus()
460 init_cpu_present(cpumask_of(boot_cpuid)); in smp_prepare_cpus()
H A Dprocess.c97 if (cpuid != boot_cpuid) { in common_shutdown_1()
127 set_cpu_present(boot_cpuid, false); in common_shutdown_1()
128 set_cpu_possible(boot_cpuid, false); in common_shutdown_1()
H A Dproto.h112 extern int boot_cpuid;
H A Dsys_titan.c64 register int bcpu = boot_cpuid; in titan_update_irq_hw()
H A Dsetup.c83 int boot_cpuid; variable
451 boot_cpuid = hard_smp_processor_id(); in setup_arch()
H A Dsys_dp264.c51 register int bcpu = boot_cpuid; in tsunami_update_irq_hw()
/openbmc/linux/arch/powerpc/kernel/
H A Dpaca.c23 #define boot_cpuid 0 macro
37 if (cpu == boot_cpuid) { in alloc_paca_data()
49 if (cpu == boot_cpuid) in alloc_paca_data()
153 if (cpu != boot_cpuid) { in new_slb_shadow()
302 memblock_phys_free(__pa(paca_ptrs[boot_cpuid]->slb_shadow_ptr), in free_unused_pacas()
304 paca_ptrs[boot_cpuid]->slb_shadow_ptr = NULL; in free_unused_pacas()
H A Dsmp.c1099 BUG_ON(boot_cpuid != smp_processor_id()); in smp_prepare_cpus()
1102 smp_store_cpu_info(boot_cpuid); in smp_prepare_cpus()
1103 cpu_callin_map[boot_cpuid] = 1; in smp_prepare_cpus()
1129 cpumask_set_cpu(boot_cpuid, cpu_sibling_mask(boot_cpuid)); in smp_prepare_cpus()
1130 cpumask_set_cpu(boot_cpuid, cpu_l2_cache_mask(boot_cpuid)); in smp_prepare_cpus()
1131 cpumask_set_cpu(boot_cpuid, cpu_core_mask(boot_cpuid)); in smp_prepare_cpus()
1134 cpumask_set_cpu(boot_cpuid, cpu_coregroup_mask(boot_cpuid)); in smp_prepare_cpus()
1138 cpumask_set_cpu(boot_cpuid, in smp_prepare_cpus()
1139 cpu_smallcore_mask(boot_cpuid)); in smp_prepare_cpus()
1142 if (cpu_to_chip_id(boot_cpuid) != -1) { in smp_prepare_cpus()
[all …]
H A Dsetup_64.c105 if (cpu_first_thread_sibling(boot_cpuid) == first) in setup_tlb_core_data()
106 first = boot_cpuid; in setup_tlb_core_data()
394 allocate_paca(boot_cpuid); in early_setup()
395 set_hard_smp_processor_id(boot_cpuid, boot_cpu_hwid); in early_setup()
396 fixup_boot_paca(paca_ptrs[boot_cpuid]); in early_setup()
397 setup_paca(paca_ptrs[boot_cpuid]); /* install the paca into registers */ in early_setup()
401 task_thread_info(current)->cpu = boot_cpuid; // fix task_cpu(current) in early_setup()
H A Dprom.c374 boot_cpuid = found; in early_init_dt_scan_cpus()
385 if (boot_cpuid >= nr_cpu_ids) { in early_init_dt_scan_cpus()
386 set_nr_cpu_ids(min(CONFIG_NR_CPUS, ALIGN(boot_cpuid + 1, nthreads))); in early_init_dt_scan_cpus()
388 boot_cpuid, nr_cpu_ids); in early_init_dt_scan_cpus()
872 if (boot_cpuid < 0) { in early_init_devtree()
H A Dsetup-common.c87 int boot_cpuid = -1; variable
88 EXPORT_SYMBOL_GPL(boot_cpuid);
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dmmu_context.c355 if (cpu == boot_cpuid) in mmu_ctx_cpu_prepare()
365 if (cpu == boot_cpuid) in mmu_ctx_cpu_dead()
401 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
402 if (!stale_map[boot_cpuid]) in mmu_context_init()
H A Dkup.c20 if (smp_processor_id() == boot_cpuid) in setup_kuap()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dsmp.c99 if (cpu != boot_cpuid) in smp_cell_setup_cpu()
152 cpumask_clear_cpu(boot_cpuid, &of_spin_map); in smp_init_cell()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dsmp.c128 else if (cpu != boot_cpuid) in smp_setup_cpu()
278 cpumask_clear_cpu(boot_cpuid, of_spin_mask); in smp_init_pseries()
H A Dhotplug-cpu.c89 if (cpu == boot_cpuid) in pseries_cpu_disable()
90 boot_cpuid = cpumask_any(cpu_online_mask); in pseries_cpu_disable()
/openbmc/linux/arch/powerpc/mm/book3s32/
H A Dkuap.c15 if (smp_processor_id() != boot_cpuid) in setup_kuap()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c266 if (smp_processor_id() == boot_cpuid) { in setup_kuep()
292 if (smp_processor_id() == boot_cpuid) { in setup_kuap()
H A Dslb.c587 if (raw_smp_processor_id() != boot_cpuid && in slb_initialize()
/openbmc/linux/arch/powerpc/sysdev/xics/
H A 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()
/openbmc/linux/arch/powerpc/mm/
H A Dinit-common.c59 if (smp_processor_id() != boot_cpuid) in setup_kuep()
/openbmc/linux/arch/powerpc/include/asm/
H A Dsmp.h28 extern int boot_cpuid;

12