Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/powerpc/mm/book3s64/
Dslb.c129 get_paca()->slb_cache_ptr = 0; in slb_restore_bolted_realmode()
131 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_restore_bolted_realmode()
132 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_restore_bolted_realmode()
193 assert_slb_presence(true, get_paca()->kstack); in slb_flush_and_restore_bolted()
195 get_paca()->slb_cache_ptr = 0; in slb_flush_and_restore_bolted()
197 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_flush_and_restore_bolted()
198 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_flush_and_restore_bolted()
207 get_paca()->slb_save_cache_ptr = get_paca()->slb_cache_ptr; in slb_save_contents()
260 pr_err("SLB RR allocator index %d\n", get_paca()->stab_rr); in slb_dump_contents()
263 pr_err("SLB cache ptr value = %d\n", get_paca()->slb_save_cache_ptr); in slb_dump_contents()
[all …]
Dhash_utils.c1268 psizes = get_paca()->mm_ctx_low_slices_psize; in get_paca_psize()
1271 psizes = get_paca()->mm_ctx_high_slices_psize; in get_paca_psize()
1370 } else if (get_paca()->vmalloc_sllp != in check_paca_psize()
1372 get_paca()->vmalloc_sllp = in check_paca_psize()
/Linux-v6.1/arch/powerpc/include/asm/
Dhw_irq.h217 get_paca()->irq_happened |= PACA_IRQ_PMI; in set_pmi_irq_pending()
229 get_paca()->irq_happened &= ~PACA_IRQ_PMI; in clear_pmi_irq_pending()
238 if (get_paca()->irq_happened & PACA_IRQ_PMI) in pmi_irq_pending()
312 return __lazy_irq_pending(get_paca()->irq_happened); in lazy_irq_pending()
353 if (get_paca()->irq_happened & PACA_IRQ_MUST_HARD_MASK) in should_hard_irq_enable()
366 WARN_ON(get_paca()->irq_happened & PACA_IRQ_MUST_HARD_MASK); in do_hard_irq_enable()
373 get_paca()->irq_happened &= ~PACA_IRQ_HARD_DIS; in do_hard_irq_enable()
Dftrace.h94 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace()
99 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace()
105 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled()
110 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()
Dpaca.h45 #define get_paca() ((void) debug_smp_processor_id(), local_paca) macro
47 #define get_paca() local_paca macro
51 #define get_lppaca() (get_paca()->lppaca_ptr)
54 #define get_slb_shadow() (get_paca()->slb_shadow_ptr)
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()
Dsimple_spinlock.h26 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token))
28 #define LOCK_TOKEN (*(u32 *)(&get_paca()->paca_index))
Dstackprotector.h34 get_paca()->canary = canary; in boot_init_stack_canary()
Dcputime.h48 #define get_accounting(tsk) (&get_paca()->accounting)
Dsmp.h88 #define hard_smp_processor_id() (get_paca()->hw_cpu_id)
Dmmu_context.h256 get_paca()->pgd = NULL; in enter_lazy_tlb()
Dkvm_ppc.h439 xirr = get_paca()->kvm_hstate.saved_xirr; in kvmppc_get_xics_latch()
440 get_paca()->kvm_hstate.saved_xirr = 0; in kvmppc_get_xics_latch()
/Linux-v6.1/arch/powerpc/mm/nohash/
De500_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()
De500.c216 get_paca()->tcd.esel_next = i; in map_mem_in_cams_addr()
217 get_paca()->tcd.esel_max = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in map_mem_in_cams_addr()
218 get_paca()->tcd.esel_first = i; in map_mem_in_cams_addr()
/Linux-v6.1/arch/powerpc/kexec/
Dcore_64.c146 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_smp_down()
233 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_prepare_cpus()
332 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
/Linux-v6.1/arch/powerpc/kernel/
Dirq_64.c419 get_paca()->in_nmi = 1; in replay_system_reset()
421 get_paca()->in_nmi = 0; in replay_system_reset()
Dpaca.c316 memcpy(&get_paca()->mm_ctx_low_slices_psize, mm_ctx_low_slices(context), in copy_mm_to_paca()
318 memcpy(&get_paca()->mm_ctx_high_slices_psize, mm_ctx_high_slices(context), in copy_mm_to_paca()
Dmce_power.c73 if (get_paca()->kvm_hstate.in_guest) in mce_in_guest()
552 if (get_paca()->in_mce < MAX_MCE_DEPTH) { in mce_handle_ierror()
656 if (get_paca()->in_mce < MAX_MCE_DEPTH) in mce_handle_derror()
Dvdso.c334 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.c504 BUG_ON(get_paca()->in_nmi == 0); in DEFINE_INTERRUPT_HANDLER_NMI()
505 if (get_paca()->in_nmi > 1) in DEFINE_INTERRUPT_HANDLER_NMI()
1545 regs->nip, regs->msr, get_paca()->tm_scratch); in do_program_check()
Dsetup_64.c310 get_paca()->kernel_msr = MSR_KERNEL; in cpu_ready_for_interrupts()
/Linux-v6.1/arch/powerpc/mm/
Dmmu_context.c33 get_paca()->pgd = mm->pgd; in switch_mm_pgdir()
/Linux-v6.1/arch/powerpc/platforms/powernv/
Dsetup.c452 get_paca()->kexec_state = KEXEC_STATE_REAL_MODE; in pnv_kexec_cpu_down()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Ddtl.c439 if (get_paca()->dtl_ridx != be64_to_cpu(get_lppaca()->dtl_idx)) in pseries_calculate_stolen_time()

12