Home
last modified time | relevance | path

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

12

/arch/powerpc/mm/book3s64/
Dslb.c131 get_paca()->slb_cache_ptr = 0; in slb_restore_bolted_realmode()
133 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_restore_bolted_realmode()
134 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_restore_bolted_realmode()
195 assert_slb_presence(true, get_paca()->kstack); in slb_flush_and_restore_bolted()
197 get_paca()->slb_cache_ptr = 0; in slb_flush_and_restore_bolted()
199 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_flush_and_restore_bolted()
200 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_flush_and_restore_bolted()
209 get_paca()->slb_save_cache_ptr = get_paca()->slb_cache_ptr; in slb_save_contents()
262 pr_err("SLB RR allocator index %d\n", get_paca()->stab_rr); in slb_dump_contents()
265 pr_err("SLB cache ptr value = %d\n", get_paca()->slb_save_cache_ptr); in slb_dump_contents()
[all …]
Dhash_utils.c1175 psizes = get_paca()->mm_ctx_low_slices_psize; in get_paca_psize()
1178 psizes = get_paca()->mm_ctx_high_slices_psize; in get_paca_psize()
1188 return get_paca()->mm_ctx_user_psize; in get_paca_psize()
1283 } else if (get_paca()->vmalloc_sllp != in check_paca_psize()
1285 get_paca()->vmalloc_sllp = in check_paca_psize()
/arch/powerpc/include/asm/
Dhw_irq.h236 get_paca()->irq_happened |= PACA_IRQ_PMI; in set_pmi_irq_pending()
248 get_paca()->irq_happened &= ~PACA_IRQ_PMI; in clear_pmi_irq_pending()
257 if (get_paca()->irq_happened & PACA_IRQ_PMI) in pmi_irq_pending()
332 return __lazy_irq_pending(get_paca()->irq_happened); in lazy_irq_pending()
353 if (!(get_paca()->irq_happened & PACA_IRQ_MUST_HARD_MASK)) { in may_hard_irq_enable()
354 get_paca()->irq_happened &= ~PACA_IRQ_HARD_DIS; in may_hard_irq_enable()
Dftrace.h104 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace()
109 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace()
115 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled()
120 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()
Dpmc.h32 get_paca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse()
40 return get_paca()->pmcregs_in_use; in ppc_get_pmu_inuse()
Dpaca.h43 #define get_paca() ((void) debug_smp_processor_id(), local_paca) macro
45 #define get_paca() local_paca macro
48 #define get_slb_shadow() (get_paca()->slb_shadow_ptr)
Dstackprotector.h34 get_paca()->canary = canary; in boot_init_stack_canary()
Dsimple_spinlock.h26 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token))
28 #define LOCK_TOKEN (*(u32 *)(&get_paca()->paca_index))
Dlppaca.h141 #define get_lppaca() (get_paca()->lppaca_ptr)
Dcputime.h47 #define get_accounting(tsk) (&get_paca()->accounting)
Dsmp.h85 #define hard_smp_processor_id() (get_paca()->hw_cpu_id)
Dmmu_context.h262 get_paca()->pgd = NULL; in enter_lazy_tlb()
/arch/powerpc/mm/nohash/
Dbook3e_hugetlbpage.c19 struct paca_struct *paca = get_paca(); in tlb1_next()
36 struct paca_struct *paca = get_paca(); in book3e_tlb_lock()
66 struct paca_struct *paca = get_paca(); in book3e_tlb_unlock()
Dfsl_booke.c195 get_paca()->tcd.esel_next = i; in map_mem_in_cams_addr()
196 get_paca()->tcd.esel_max = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in map_mem_in_cams_addr()
197 get_paca()->tcd.esel_first = i; in map_mem_in_cams_addr()
/arch/powerpc/kernel/
Dpaca.c319 memcpy(&get_paca()->mm_ctx_low_slices_psize, mm_ctx_low_slices(context), in copy_mm_to_paca()
321 memcpy(&get_paca()->mm_ctx_high_slices_psize, mm_ctx_high_slices(context), in copy_mm_to_paca()
324 get_paca()->mm_ctx_user_psize = context->user_psize; in copy_mm_to_paca()
325 get_paca()->mm_ctx_sllp = context->sllp; in copy_mm_to_paca()
Dsetup_64.c183 get_paca()->cpu_start = 1; in fixup_boot_paca()
185 get_paca()->data_offset = 0; in fixup_boot_paca()
270 get_paca()->kernel_msr = MSR_KERNEL; in cpu_ready_for_interrupts()
Dmce_power.c73 if (get_paca()->kvm_hstate.in_guest) in mce_in_guest()
550 if (get_paca()->in_mce < MAX_MCE_DEPTH) { in mce_handle_ierror()
652 if (get_paca()->in_mce < MAX_MCE_DEPTH) in mce_handle_derror()
Dirq.c503 get_paca()->in_nmi = 1; in replay_system_reset()
505 get_paca()->in_nmi = 0; in replay_system_reset()
Dvdso.c342 get_paca()->sprg_vdso = val; in vdso_getcpu_init()
Dsysfs.c146 *(unsigned long *)val = get_paca()->dscr_default; in read_dscr()
159 get_paca()->dscr_default = *(unsigned long *)val; in write_dscr()
Dtraps.c501 BUG_ON(get_paca()->in_nmi == 0); in DEFINE_INTERRUPT_HANDLER_NMI()
502 if (get_paca()->in_nmi > 1) in DEFINE_INTERRUPT_HANDLER_NMI()
1533 regs->nip, regs->msr, get_paca()->tm_scratch); in do_program_check()
/arch/powerpc/kexec/
Dcore_64.c147 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_smp_down()
234 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_prepare_cpus()
333 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
/arch/powerpc/mm/
Dmmu_context.c27 get_paca()->pgd = mm->pgd; in switch_mm_pgdir()
/arch/powerpc/kvm/
Dbook3s_hv_builtin.c565 get_paca()->in_nmi++; in kvmppc_bad_interrupt()
567 get_paca()->in_nmi--; in kvmppc_bad_interrupt()
/arch/powerpc/platforms/powernv/
Dsetup.c415 get_paca()->kexec_state = KEXEC_STATE_REAL_MODE; in pnv_kexec_cpu_down()

12