Home
last modified time | relevance | path

Searched refs:get_paca (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/arch/powerpc/mm/
Dslb.c107 ksp_esid_data = mk_esid_data(get_paca()->kstack, mmu_kernel_ssize, 2); in __slb_flush_and_rebolt()
114 slb_shadow_update(get_paca()->kstack, mmu_kernel_ssize, lflags, 2); in __slb_flush_and_rebolt()
146 get_paca()->slb_cache_ptr = 0; in slb_flush_and_rebolt()
203 offset = get_paca()->slb_cache_ptr; in switch_slb()
209 slbie_data = (unsigned long)get_paca()->slb_cache[i] in switch_slb()
225 get_paca()->slb_cache_ptr = 0; in switch_slb()
226 get_paca()->context = mm->context; in switch_slb()
285 get_paca()->vmalloc_sllp = SLB_VSID_KERNEL | vmalloc_llp; in slb_initialize()
308 get_paca()->stab_rr = SLB_NUM_BOLTED; in slb_initialize()
333 (get_paca()->kstack & slb_esid_mask(mmu_kernel_ssize)) > PAGE_OFFSET) in slb_initialize()
[all …]
Dstab.c75 castout_entry = get_paca()->stab_rr; in make_ste()
94 get_paca()->stab_rr = (castout_entry + 1) & 0xf; in make_ste()
136 stab_entry = make_ste(get_paca()->stab_addr, GET_ESID(ea), vsid); in __ste_allocate()
165 struct stab_entry *stab = (struct stab_entry *) get_paca()->stab_addr; in switch_stab()
286 stabreal = get_paca()->stab_real | 0x1ul; in stab_initialize()
Dhash_utils_64.c731 get_paca()->stab_real = __pa((u64)&initial_stab); in early_init_mmu()
732 get_paca()->stab_addr = (u64)&initial_stab; in early_init_mmu()
745 stab_initialize(get_paca()->stab_real); in early_init_mmu()
762 stab_initialize(get_paca()->stab_addr); in early_init_mmu_secondary()
795 slices = get_paca()->context.low_slices_psize; in get_paca_psize()
798 slices = get_paca()->context.high_slices_psize; in get_paca_psize()
807 return get_paca()->context.user_psize; in get_paca_psize()
825 get_paca()->context = mm->context; in demote_segment_4k()
1027 get_paca()->context = mm->context; in hash_page()
1030 } else if (get_paca()->vmalloc_sllp != in hash_page()
[all …]
Dslice.c177 get_paca()->context = current->active_mm->context; in slice_flush_segments()
/linux-2.6.39/arch/powerpc/kernel/
Dtime.c297 if (get_paca()->dtl_ridx != get_paca()->lppaca_ptr->dtl_idx) { in calculate_stolen_time()
299 get_paca()->system_time -= stolen; in calculate_stolen_time()
302 stolen += get_paca()->stolen_time; in calculate_stolen_time()
303 get_paca()->stolen_time = 0; in calculate_stolen_time()
328 get_paca()->system_time += now - get_paca()->starttime; in account_system_vtime()
329 get_paca()->starttime = now; in account_system_vtime()
330 deltascaled = nowscaled - get_paca()->startspurr; in account_system_vtime()
331 get_paca()->startspurr = nowscaled; in account_system_vtime()
335 delta = get_paca()->system_time; in account_system_vtime()
336 get_paca()->system_time = 0; in account_system_vtime()
[all …]
Dmachine_kexec_64.c167 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_smp_down()
249 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_prepare_cpus()
343 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
Dsetup_64.c205 get_paca()->cpu_start = 1; in early_setup()
224 get_paca()->soft_enabled = 0; in early_setup_secondary()
/linux-2.6.39/arch/powerpc/include/asm/
Dpaca.h37 #define get_paca() ((void) debug_smp_processor_id(), local_paca) macro
39 #define get_paca() local_paca macro
42 #define get_lppaca() (get_paca()->lppaca_ptr)
43 #define get_slb_shadow() (get_paca()->slb_shadow_ptr)
Dspinlock.h36 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token))
42 #define CLEAR_IO_SYNC (get_paca()->io_sync = 0)
44 if (unlikely(get_paca()->io_sync)) { \
46 get_paca()->io_sync = 0; \
Dhw_irq.h78 get_paca()->soft_enabled = 0; \
79 get_paca()->hard_enabled = 0; \
Dmmu_context.h52 get_paca()->pgd = next->pgd; in switch_mm()
102 get_paca()->pgd = NULL; in enter_lazy_tlb()
Dkvm_book3s_64.h25 return &get_paca()->shadow_vcpu; in to_svcpu()
Dsmp.h53 #define hard_smp_processor_id() (get_paca()->hw_cpu_id)
/linux-2.6.39/arch/powerpc/platforms/pseries/
Dsetup.c320 dtl = get_paca()->dispatch_log; in alloc_dispatch_logs()
321 get_paca()->dtl_ridx = 0; in alloc_dispatch_logs()
322 get_paca()->dtl_curr = dtl; in alloc_dispatch_logs()
323 get_paca()->lppaca_ptr->dtl_idx = 0; in alloc_dispatch_logs()
331 get_paca()->lppaca_ptr->dtl_enable_mask = 2; in alloc_dispatch_logs()
/linux-2.6.39/arch/powerpc/kvm/
Dbook3s.c84 memcpy(&get_paca()->shadow_vcpu, to_book3s(vcpu)->shadow_vcpu, in kvmppc_core_vcpu_load()
85 sizeof(get_paca()->shadow_vcpu)); in kvmppc_core_vcpu_load()
98 memcpy(to_book3s(vcpu)->shadow_vcpu, &get_paca()->shadow_vcpu, in kvmppc_core_vcpu_put()
99 sizeof(get_paca()->shadow_vcpu)); in kvmppc_core_vcpu_put()
/linux-2.6.39/arch/powerpc/xmon/
Dxmon.c1444 printf(" paca = 0x%lx\n", get_paca()); in excprint()
1644 ptrPaca = get_paca(); in super_regs()
2647 unsigned long *tmp = (unsigned long *)get_paca()->stab_addr; in dump_stab()
/linux-2.6.39/arch/powerpc/lib/
Dsstep.c596 regs->gpr[13] = (unsigned long) get_paca(); in emulate_step()