/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | slb.c | 130 get_paca()->slb_cache_ptr = 0; in slb_restore_bolted_realmode() 132 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_restore_bolted_realmode() 133 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_restore_bolted_realmode() 194 assert_slb_presence(true, get_paca()->kstack); in slb_flush_and_restore_bolted() 196 get_paca()->slb_cache_ptr = 0; in slb_flush_and_restore_bolted() 198 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_flush_and_restore_bolted() 199 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_flush_and_restore_bolted() 208 get_paca() in slb_save_contents() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | slb.c | 157 get_paca()->slb_cache_ptr = 0; in slb_restore_bolted_realmode() 159 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_restore_bolted_realmode() 160 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_restore_bolted_realmode() 221 assert_slb_presence(true, get_paca()->kstack); in slb_flush_and_restore_bolted() 223 get_paca()->slb_cache_ptr = 0; in slb_flush_and_restore_bolted() 225 get_paca()->slb_kern_bitmap = (1U << SLB_NUM_BOLTED) - 1; in slb_flush_and_restore_bolted() 226 get_paca()->slb_used_bitmap = get_paca()->slb_kern_bitmap; in slb_flush_and_restore_bolted() 235 get_paca() in slb_save_contents() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | hw_irq.h | 228 get_paca()->irq_happened |= PACA_IRQ_PMI; in set_pmi_irq_pending() 240 get_paca()->irq_happened &= ~PACA_IRQ_PMI; in clear_pmi_irq_pending() 249 if (get_paca()->irq_happened & PACA_IRQ_PMI) in pmi_irq_pending() 323 return __lazy_irq_pending(get_paca()->irq_happened); in lazy_irq_pending() 349 WARN_ON(!(get_paca()->irq_happened & PACA_IRQ_HARD_DIS)); in should_hard_irq_enable() 374 if (get_paca()->irq_happened & PACA_IRQ_MUST_HARD_MASK) in should_hard_irq_enable() 392 get_paca()->irq_happened &= ~PACA_IRQ_HARD_DIS; in do_hard_irq_enable()
|
H A D | ftrace.h | 117 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace() 122 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace() 128 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled() 133 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()
|
H A D | pmc.h | 32 get_paca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse() 40 return get_paca()->pmcregs_in_use; in ppc_get_pmu_inuse()
|
H A D | paca.h | 41 * Add standard checks that preemption cannot occur when using get_paca(): 44 #define get_paca() ((void) debug_smp_processor_id(), local_paca) macro 46 #define get_paca() local_paca macro 49 #define get_slb_shadow() (get_paca()->slb_shadow_ptr)
|
H A D | simple_spinlock.h | 27 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token)) 29 #define LOCK_TOKEN (*(u32 *)(&get_paca()->paca_index))
|
H A D | stackprotector.h | 26 get_paca()->canary = canary; in boot_init_stack_canary()
|
H A D | cputime.h | 33 #define get_accounting(tsk) (&get_paca()->accounting) 56 * can't use get_paca()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | paca.c | 349 get_paca()->mm_ctx_id = context->id; in copy_mm_to_paca() 352 get_paca()->mm_ctx_slb_addr_limit = mm_ctx_slb_addr_limit(context); in copy_mm_to_paca() 353 memcpy(&get_paca()->mm_ctx_low_slices_psize, mm_ctx_low_slices(context), in copy_mm_to_paca() 355 memcpy(&get_paca()->mm_ctx_high_slices_psize, mm_ctx_high_slices(context), in copy_mm_to_paca() 358 get_paca()->mm_ctx_user_psize = context->user_psize; in copy_mm_to_paca() 359 get_paca()->mm_ctx_sllp = context->sllp; in copy_mm_to_paca()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | hw_irq.h | 187 get_paca()->irq_happened |= PACA_IRQ_PMI; in set_pmi_irq_pending() 199 get_paca()->irq_happened &= ~PACA_IRQ_PMI; in clear_pmi_irq_pending() 208 if (get_paca()->irq_happened & PACA_IRQ_PMI) in pmi_irq_pending() 295 return __lazy_irq_pending(get_paca()->irq_happened); in lazy_irq_pending() 316 if (!(get_paca()->irq_happened & PACA_IRQ_MUST_HARD_MASK)) { in may_hard_irq_enable() 317 get_paca()->irq_happened &= ~PACA_IRQ_HARD_DIS; in may_hard_irq_enable()
|
H A D | ftrace.h | 104 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()
|
H A D | pmc.h | 32 get_paca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse() 40 return get_paca()->pmcregs_in_use; in ppc_get_pmu_inuse()
|
H A D | paca.h | 39 * Add standard checks that preemption cannot occur when using get_paca(): 42 #define get_paca() ((void) debug_smp_processor_id(), local_paca) macro 44 #define get_paca() local_paca macro 47 #define get_slb_shadow() (get_paca()->slb_shadow_ptr)
|
H A D | simple_spinlock.h | 26 #define LOCK_TOKEN (*(u32 *)(&get_paca()->lock_token)) 28 #define LOCK_TOKEN (*(u32 *)(&get_paca()->paca_index))
|
H A D | stackprotector.h | 34 get_paca()->canary = canary; in boot_init_stack_canary()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
H A D | book3e_hugetlbpage.c | 19 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()
|
H A D | fsl_booke.c | 195 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()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 19 struct paca_struct *paca = get_paca(); in tlb1_next() 36 struct paca_struct *paca = get_paca(); in book3e_tlb_lock() 69 struct paca_struct *paca = get_paca(); in book3e_tlb_unlock()
|
H A D | e500.c | 216 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()
|
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
H A D | core_64.c | 143 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_smp_down() 230 get_paca()->kexec_state = KEXEC_STATE_IRQS_OFF; in kexec_prepare_cpus() 329 memcpy(&kexec_paca, get_paca(), sizeof(struct paca_struct)); in default_machine_kexec()
|
/kernel/linux/linux-6.6/arch/powerpc/kexec/ |
H A D | core_64.c | 146 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()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | paca.c | 318 memcpy(&get_paca()->mm_ctx_low_slices_psize, mm_ctx_low_slices(context), in copy_mm_to_paca() 320 memcpy(&get_paca()->mm_ctx_high_slices_psize, mm_ctx_high_slices(context), in copy_mm_to_paca()
|
H A D | irq_64.c | 102 * We use local_paca rather than get_paca() to avoid all the in __replay_soft_interrupts() 446 get_paca()->in_nmi = 1; in replay_system_reset() 448 get_paca()->in_nmi = 0; in replay_system_reset()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | mmu_context.c | 27 get_paca()->pgd = mm->pgd; in switch_mm_pgdir()
|