Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dpaca.c147 struct paca_struct *paca; variable
148 EXPORT_SYMBOL(paca);
223 paca = __va(memblock_alloc_base(paca_size, PAGE_SIZE, limit)); in allocate_pacas()
224 memset(paca, 0, paca_size); in allocate_pacas()
227 paca_size, nr_cpu_ids, paca); in allocate_pacas()
235 initialise_paca(&paca[cpu], cpu); in allocate_pacas()
247 memblock_free(__pa(paca) + new_size, paca_size - new_size); in free_unused_pacas()
Dsetup_64.c120 paca[cpu].tcd_ptr = &paca[first].tcd; in setup_tlb_core_data()
288 setup_paca(&paca[boot_cpuid]); in early_setup()
643 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
647 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
651 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
686 paca[i].emergency_sp = __va(sp); in emergency_stack_init()
692 paca[i].mc_emergency_sp = __va(sp); in emergency_stack_init()
804 paca[cpu].data_offset = __per_cpu_offset[cpu]; in setup_per_cpu_areas()
960 paca[cpu].rfi_flush_fallback_area = l1d_flush_fallback_area; in init_fallback_flush()
961 paca[cpu].l1d_flush_size = l1d_size; in init_fallback_flush()
Dmachine_kexec_64.c223 while (paca[i].kexec_state < wait_state) { in kexec_prepare_cpus_wait()
228 i, paca[i].hw_cpu_id, wait_state); in kexec_prepare_cpus_wait()
367 paca = (struct paca_struct *)RELOC_HIDE(&kexec_paca, 0) - in default_machine_kexec()
Dsmp.c119 if (!paca[nr].cpu_start) { in smp_generic_kick_cpu()
120 paca[nr].cpu_start = 1; in smp_generic_kick_cpu()
401 paca[boot_cpuid].__current = current; in smp_prepare_boot_cpu()
473 paca[cpu].__current = idle; in cpu_idle_thread_init()
474 paca[cpu].kstack = (unsigned long)ti + THREAD_SIZE - STACK_FRAME_OVERHEAD; in cpu_idle_thread_init()
Dcrash.c235 while (paca[i].kexec_state < KEXEC_STATE_REAL_MODE) { in crash_kexec_wait_realmode()
Dhead_64.S271 LOAD_REG_ADDR(r13, paca) /* Load paca pointer */
628 LOAD_REG_ADDR(r4,paca) /* Load paca pointer */
DMakefile39 paca.o nvram_64.o firmware.o
/arch/powerpc/platforms/powernv/
Didle.c51 uint64_t hsprg0_val = (uint64_t)&paca[cpu]; in pnv_save_sprs_for_winkle()
125 paca[cpu].core_idle_state_ptr = core_idle_state; in pnv_alloc_idle_core_states()
126 paca[cpu].thread_idle_state = PNV_THREAD_RUNNING; in pnv_alloc_idle_core_states()
127 paca[cpu].thread_mask = 1 << j; in pnv_alloc_idle_core_states()
Dsetup.c312 i, paca[i].hw_cpu_id); in pnv_kexec_wait_secondaries_down()
324 i, paca[i].hw_cpu_id); in pnv_kexec_wait_secondaries_down()
Dsmp.c72 if (paca[nr].cpu_start || !firmware_has_feature(FW_FEATURE_OPAL)) in pnv_smp_kick_cpu()
Dsubcore.c282 paca[cpu].subcore_sibling_mask = mask; in update_subcore_sibling_mask()
/arch/powerpc/platforms/cell/
Dsmp.c86 task_thread_info(paca[lcpu].__current)->preempt_count = 0; in smp_startup_cpu()
128 paca[nr].cpu_start = 1; in smp_cell_kick_cpu()
/arch/powerpc/include/asm/
Dsmp.h149 return paca[cpu].hw_cpu_id; in get_hard_smp_processor_id()
154 paca[cpu].hw_cpu_id = phys; in set_hard_smp_processor_id()
Dlppaca.h106 #define lppaca_of(cpu) (*paca[cpu].lppaca_ptr)
Dpaca.h206 extern struct paca_struct *paca;
Dkvm_ppc.h385 paca[cpu].kvm_hstate.xics_phys = addr; in kvmppc_set_xics_phys()
399 paca[cpu].kvm_hstate.host_ipi = host_ipi; in kvmppc_set_host_ipi()
/arch/powerpc/mm/
Dhugetlbpage-book3e.c15 struct paca_struct *paca = get_paca(); in tlb1_next() local
19 tcd = paca->tcd_ptr; in tlb1_next()
/arch/powerpc/platforms/pseries/
Dsmp.c118 task_thread_info(paca[lcpu].__current)->preempt_count = 0; in smp_startup_cpu()
172 paca[nr].cpu_start = 1; in smp_pSeries_kick_cpu()
Dhotplug-cpu.c235 paca[cpu].cpu_start = 0; in pseries_cpu_die()
Dlpar.c96 addr = __pa(paca[cpu].slb_shadow_ptr); in vpa_init()
108 pp = &paca[cpu]; in vpa_init()
Dsetup.c312 pp = &paca[cpu]; in alloc_dispatch_logs()
/arch/powerpc/platforms/85xx/
Dsmp.c405 while (paca[disable_cpu].kexec_state < KEXEC_STATE_REAL_MODE) { in mpc85xx_smp_kexec_cpu_down()
412 paca[disable_cpu].kexec_state); in mpc85xx_smp_kexec_cpu_down()
/arch/powerpc/kvm/
Dbook3s_hv_builtin.c219 xics_phys = paca[cpu].kvm_hstate.xics_phys; in kvmhv_rm_send_ipi()
Dbook3s_hv.c105 if (cpu >= 0 && cpu < nr_cpu_ids && paca[cpu].kvm_hstate.xics_phys) { in kvmppc_ipi_thread()
1772 tpaca = &paca[cpu]; in kvmppc_grab_hwthread()
1805 tpaca = &paca[cpu]; in kvmppc_release_hwthread()
1828 tpaca = &paca[cpu]; in kvmppc_start_thread()
1851 if (paca[cpu + i].kvm_hstate.kvm_vcore) in kvmppc_wait_for_nap()
1861 if (paca[cpu + i].kvm_hstate.kvm_vcore) in kvmppc_wait_for_nap()
2371 paca[pcpu + thr].kvm_hstate.kvm_split_mode = sip; in kvmppc_run_core()
/arch/powerpc/xmon/
Dxmon.c2101 p = &paca[cpu]; in dump_one_paca()
2109 #define DUMP(paca, name, format) \ in dump_one_paca() argument
2110 printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \ in dump_one_paca()