Home
last modified time | relevance | path

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

/linux-3.4.99/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()
284 get_paca()->vmalloc_sllp = SLB_VSID_KERNEL | vmalloc_llp; in slb_initialize()
307 get_paca()->stab_rr = SLB_NUM_BOLTED; in slb_initialize()
327 (get_paca()->kstack & slb_esid_mask(mmu_kernel_ssize)) > PAGE_OFFSET) in slb_initialize()
[all …]
Dstab.c73 castout_entry = get_paca()->stab_rr; in make_ste()
92 get_paca()->stab_rr = (castout_entry + 1) & 0xf; in make_ste()
134 stab_entry = make_ste(get_paca()->stab_addr, GET_ESID(ea), vsid); in __ste_allocate()
163 struct stab_entry *stab = (struct stab_entry *) get_paca()->stab_addr; in switch_stab()
284 stabreal = get_paca()->stab_real | 0x1ul; in stab_initialize()
Dhash_utils_64.c750 get_paca()->stab_real = __pa((u64)&initial_stab); in early_init_mmu()
751 get_paca()->stab_addr = (u64)&initial_stab; in early_init_mmu()
763 stab_initialize(get_paca()->stab_real); in early_init_mmu()
779 stab_initialize(get_paca()->stab_addr); in early_init_mmu_secondary()
812 slices = get_paca()->context.low_slices_psize; in get_paca_psize()
815 slices = get_paca()->context.high_slices_psize; in get_paca_psize()
824 return get_paca()->context.user_psize; in get_paca_psize()
842 get_paca()->context = mm->context; in demote_segment_4k()
1044 get_paca()->context = mm->context; in hash_page()
1047 } else if (get_paca()->vmalloc_sllp != in hash_page()
[all …]
Dslice.c177 get_paca()->context = current->active_mm->context; in slice_flush_segments()
/linux-3.4.99/arch/powerpc/kernel/
Dtime.c271 if (get_paca()->dtl_ridx != get_paca()->lppaca_ptr->dtl_idx) { in calculate_stolen_time()
273 get_paca()->system_time -= stolen; in calculate_stolen_time()
276 stolen += get_paca()->stolen_time; in calculate_stolen_time()
277 get_paca()->stolen_time = 0; in calculate_stolen_time()
302 get_paca()->system_time += now - get_paca()->starttime; in account_system_vtime()
303 get_paca()->starttime = now; in account_system_vtime()
304 deltascaled = nowscaled - get_paca()->startspurr; in account_system_vtime()
305 get_paca()->startspurr = nowscaled; in account_system_vtime()
309 delta = get_paca()->system_time; in account_system_vtime()
310 get_paca()->system_time = 0; in account_system_vtime()
[all …]
Dmachine_kexec_64.c168 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_smp_down()
252 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_prepare_cpus()
347 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
Dsetup_64.c210 get_paca()->cpu_start = 1; in early_setup()
236 get_paca()->soft_enabled = 0; in early_setup_secondary()
/linux-3.4.99/arch/powerpc/include/asm/
Dhw_irq.h98 get_paca()->soft_enabled = 0; in hard_irq_disable()
99 get_paca()->irq_happened |= PACA_IRQ_HARD_DIS; in hard_irq_disable()
107 return !!(get_paca()->irq_happened & ~PACA_IRQ_HARD_DIS); in lazy_irq_pending()
117 get_paca()->irq_happened &= ~PACA_IRQ_HARD_DIS; in may_hard_irq_enable()
118 if (!(get_paca()->irq_happened & PACA_IRQ_EE)) in may_hard_irq_enable()
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.h35 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token))
41 #define CLEAR_IO_SYNC (get_paca()->io_sync = 0)
43 if (unlikely(get_paca()->io_sync)) { \
45 get_paca()->io_sync = 0; \
Dmmu_context.h56 get_paca()->pgd = next->pgd; in switch_mm()
112 get_paca()->pgd = NULL; in enter_lazy_tlb()
Dsmp.h73 #define hard_smp_processor_id() (get_paca()->hw_cpu_id)
Dkvm_book3s_64.h27 return &get_paca()->shadow_vcpu; in svcpu_get()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Dsetup.c318 dtl = get_paca()->dispatch_log; in alloc_dispatch_logs()
319 get_paca()->dtl_ridx = 0; in alloc_dispatch_logs()
320 get_paca()->dtl_curr = dtl; in alloc_dispatch_logs()
321 get_paca()->lppaca_ptr->dtl_idx = 0; in alloc_dispatch_logs()
330 get_paca()->lppaca_ptr->dtl_enable_mask = 2; in alloc_dispatch_logs()
/linux-3.4.99/arch/powerpc/kvm/
Dbook3s_pr.c64 memcpy(&get_paca()->shadow_vcpu, to_book3s(vcpu)->shadow_vcpu, in kvmppc_core_vcpu_load()
65 sizeof(get_paca()->shadow_vcpu)); in kvmppc_core_vcpu_load()
80 memcpy(to_book3s(vcpu)->shadow_vcpu, &get_paca()->shadow_vcpu, in kvmppc_core_vcpu_put()
81 sizeof(get_paca()->shadow_vcpu)); in kvmppc_core_vcpu_put()
Dbook3s_hv_rm_mmu.c326 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token))
/linux-3.4.99/arch/powerpc/platforms/powernv/
Dopal.c156 struct opal_machine_check_event *opal_evt = get_paca()->opal_mc_evt; in opal_machine_check()
/linux-3.4.99/arch/powerpc/lib/
Dsstep.c601 regs->gpr[13] = (unsigned long) get_paca(); in emulate_step()