local_paca 240 arch/powerpc/include/asm/hw_irq.h local_paca->irq_happened |= PACA_IRQ_HARD_DIS; \ local_paca 243 arch/powerpc/include/asm/hw_irq.h : "=m" (local_paca->saved_r1) \ local_paca 244 arch/powerpc/include/asm/hw_irq.h : "b" (&local_paca->saved_r1)); \ local_paca 1018 arch/powerpc/include/asm/kvm_ppc.h WARN_ON(local_paca->irq_happened != PACA_IRQ_HARD_DIS); local_paca 1021 arch/powerpc/include/asm/kvm_ppc.h local_paca->irq_happened = 0; local_paca 11 arch/powerpc/include/asm/mmiowb.h #define arch_mmiowb_state() (&local_paca->mmiowb_state) local_paca 35 arch/powerpc/include/asm/paca.h register struct paca_struct *local_paca asm("r13"); local_paca 43 arch/powerpc/include/asm/paca.h #define get_paca() ((void) debug_smp_processor_id(), local_paca) local_paca 45 arch/powerpc/include/asm/paca.h #define get_paca() local_paca local_paca 15 arch/powerpc/include/asm/percpu.h #define __my_cpu_offset local_paca->data_offset local_paca 76 arch/powerpc/include/asm/smp.h #define raw_smp_processor_id() (local_paca->paca_index) local_paca 122 arch/powerpc/include/asm/spinlock.h lppaca_shared_proc(local_paca->lppaca_ptr)); local_paca 132 arch/powerpc/kernel/irq.c unsigned char happened = local_paca->irq_happened; local_paca 155 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS; local_paca 164 arch/powerpc/kernel/irq.c local_paca->irq_happened |= PACA_IRQ_DEC; local_paca 185 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_HMI; local_paca 190 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_DEC; local_paca 195 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_PMI; local_paca 200 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_EE; local_paca 211 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_EE_EDGE; local_paca 216 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_DBELL; local_paca 221 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_DBELL; local_paca 227 arch/powerpc/kernel/irq.c BUG_ON(local_paca->irq_happened != 0); local_paca 327 arch/powerpc/kernel/irq.c local_paca->irq_happened |= PACA_IRQ_HARD_DIS; local_paca 355 arch/powerpc/kernel/irq.c local_paca->irq_happened |= PACA_IRQ_HARD_DIS; local_paca 373 arch/powerpc/kernel/irq.c local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS; local_paca 396 arch/powerpc/kernel/irq.c local_paca->irq_happened |= PACA_IRQ_HARD_DIS; local_paca 471 arch/powerpc/kernel/irq.c local_paca->irq_happened |= reason; local_paca 492 arch/powerpc/kernel/irq.c local_paca->irq_happened |= PACA_IRQ_HARD_DIS; local_paca 495 arch/powerpc/kernel/irq.c local_paca->irq_happened |= PACA_IRQ_EE; local_paca 550 arch/powerpc/kernel/mce.c slb_dump_contents(local_paca->mce_faulty_slbs); local_paca 662 arch/powerpc/kernel/mce.c ret = local_paca->hmi_p9_special_emu = 1; local_paca 412 arch/powerpc/kernel/mce_power.c if (local_paca->in_mce == 1) local_paca 413 arch/powerpc/kernel/mce_power.c slb_save_contents(local_paca->mce_faulty_slbs); local_paca 499 arch/powerpc/kernel/mce_power.c if (local_paca->in_mce == 1) local_paca 500 arch/powerpc/kernel/mce_power.c slb_save_contents(local_paca->mce_faulty_slbs); local_paca 211 arch/powerpc/kernel/paca.c local_paca = new_paca; local_paca 215 arch/powerpc/kernel/paca.c mtspr(SPRN_SPRG_TLB_EXFRAME, local_paca->extlb); local_paca 226 arch/powerpc/kernel/paca.c mtspr(SPRN_SPRG_HPACA, local_paca); local_paca 228 arch/powerpc/kernel/paca.c mtspr(SPRN_SPRG_PACA, local_paca); local_paca 192 arch/powerpc/kernel/time.c u64 i = local_paca->dtl_ridx; local_paca 193 arch/powerpc/kernel/time.c struct dtl_entry *dtl = local_paca->dtl_curr; local_paca 194 arch/powerpc/kernel/time.c struct dtl_entry *dtl_end = local_paca->dispatch_log_end; local_paca 195 arch/powerpc/kernel/time.c struct lppaca *vpa = local_paca->lppaca_ptr; local_paca 213 arch/powerpc/kernel/time.c dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); local_paca 224 arch/powerpc/kernel/time.c dtl = local_paca->dispatch_log; local_paca 226 arch/powerpc/kernel/time.c local_paca->dtl_ridx = i; local_paca 227 arch/powerpc/kernel/time.c local_paca->dtl_curr = dtl; local_paca 239 arch/powerpc/kernel/time.c struct cpu_accounting_data *acct = &local_paca->accounting; local_paca 1065 arch/powerpc/kernel/traps.c if (local_paca->hmi_p9_special_emu) { local_paca 1066 arch/powerpc/kernel/traps.c local_paca->hmi_p9_special_emu = 0; local_paca 3024 arch/powerpc/kvm/book3s_hv.c local_paca->irq_happened |= PACA_IRQ_EE; local_paca 3027 arch/powerpc/kvm/book3s_hv.c local_paca->irq_happened |= PACA_IRQ_DBELL; local_paca 3030 arch/powerpc/kvm/book3s_hv.c local_paca->irq_happened |= PACA_IRQ_HMI; local_paca 3422 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.host_purr = mfspr(SPRN_PURR); local_paca 3423 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.host_spurr = mfspr(SPRN_SPURR); local_paca 3436 arch/powerpc/kvm/book3s_hv.c (local_paca->kvm_hstate.fake_suspend << PSSCR_FAKE_SUSPEND_LG)); local_paca 3460 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_PURR, local_paca->kvm_hstate.host_purr + local_paca 3462 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPURR, local_paca->kvm_hstate.host_spurr + local_paca 3478 arch/powerpc/kvm/book3s_hv.c (local_paca->kvm_hstate.fake_suspend << PSSCR_FAKE_SUSPEND_LG)); local_paca 3535 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.dec_expires = dec + tb; local_paca 3536 arch/powerpc/kvm/book3s_hv.c if (local_paca->kvm_hstate.dec_expires < time_limit) local_paca 3537 arch/powerpc/kvm/book3s_hv.c time_limit = local_paca->kvm_hstate.dec_expires; local_paca 3694 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_DEC, local_paca->kvm_hstate.dec_expires - mftb()); local_paca 3695 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_SPRG_VDSO_WRITE, local_paca->sprg_vdso); local_paca 4107 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.tid = 0; local_paca 4108 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.napping = 0; local_paca 4109 arch/powerpc/kvm/book3s_hv.c local_paca->kvm_hstate.kvm_split_mode = NULL; local_paca 5511 arch/powerpc/kvm/book3s_hv.c !local_paca->kvm_hstate.xics_phys) { local_paca 135 arch/powerpc/kvm/book3s_hv_builtin.c struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; local_paca 136 arch/powerpc/kvm/book3s_hv_builtin.c int ptid = local_paca->kvm_hstate.ptid; local_paca 285 arch/powerpc/kvm/book3s_hv_builtin.c struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; local_paca 286 arch/powerpc/kvm/book3s_hv_builtin.c int ptid = local_paca->kvm_hstate.ptid; local_paca 287 arch/powerpc/kvm/book3s_hv_builtin.c struct kvm_split_mode *sip = local_paca->kvm_hstate.kvm_split_mode; local_paca 339 arch/powerpc/kvm/book3s_hv_builtin.c vc = local_paca->kvm_hstate.kvm_vcore; local_paca 340 arch/powerpc/kvm/book3s_hv_builtin.c cpu0 = vc->pcpu + ptid - local_paca->kvm_hstate.tid; local_paca 399 arch/powerpc/kvm/book3s_hv_builtin.c vcpu = local_paca->kvm_hstate.kvm_vcpu; local_paca 410 arch/powerpc/kvm/book3s_hv_builtin.c local_paca->kvm_hstate.saved_xirr = 0; local_paca 464 arch/powerpc/kvm/book3s_hv_builtin.c host_ipi = local_paca->kvm_hstate.host_ipi; local_paca 475 arch/powerpc/kvm/book3s_hv_builtin.c xics_phys = local_paca->kvm_hstate.xics_phys; local_paca 492 arch/powerpc/kvm/book3s_hv_builtin.c local_paca->kvm_hstate.saved_xirr = h_xirr; local_paca 537 arch/powerpc/kvm/book3s_hv_builtin.c host_ipi = local_paca->kvm_hstate.host_ipi; local_paca 560 arch/powerpc/kvm/book3s_hv_builtin.c local_paca->kvm_hstate.saved_xirr = 0; local_paca 692 arch/powerpc/kvm/book3s_hv_builtin.c int thr = local_paca->kvm_hstate.tid; local_paca 716 arch/powerpc/kvm/book3s_hv_builtin.c if (local_paca->kvm_hstate.tid == 0) { local_paca 748 arch/powerpc/kvm/book3s_hv_builtin.c if (local_paca->kvm_hstate.tid == 0) { local_paca 755 arch/powerpc/kvm/book3s_hv_builtin.c local_paca->kvm_hstate.kvm_split_mode = NULL; local_paca 29 arch/powerpc/kvm/book3s_hv_hmi.c if (!local_paca->sibling_subcore_state) local_paca 33 arch/powerpc/kvm/book3s_hv_hmi.c while (local_paca->sibling_subcore_state->in_guest[i]) local_paca 39 arch/powerpc/kvm/book3s_hv_hmi.c if (!local_paca->sibling_subcore_state) local_paca 43 arch/powerpc/kvm/book3s_hv_hmi.c &local_paca->sibling_subcore_state->flags)) local_paca 133 arch/powerpc/kvm/book3s_hv_ras.c if (local_paca->kvm_hstate.kvm_split_mode) local_paca 134 arch/powerpc/kvm/book3s_hv_ras.c return local_paca->kvm_hstate.kvm_split_mode->subcore_size; local_paca 143 arch/powerpc/kvm/book3s_hv_ras.c thread_id = cpu_thread_in_core(local_paca->paca_index); local_paca 146 arch/powerpc/kvm/book3s_hv_ras.c local_paca->sibling_subcore_state->in_guest[subcore_id] = 1; local_paca 154 arch/powerpc/kvm/book3s_hv_ras.c thread_id = cpu_thread_in_core(local_paca->paca_index); local_paca 157 arch/powerpc/kvm/book3s_hv_ras.c local_paca->sibling_subcore_state->in_guest[subcore_id] = 0; local_paca 164 arch/powerpc/kvm/book3s_hv_ras.c &local_paca->sibling_subcore_state->flags)) local_paca 173 arch/powerpc/kvm/book3s_hv_ras.c &local_paca->sibling_subcore_state->flags); local_paca 309 arch/powerpc/kvm/book3s_hv_ras.c if (local_paca->kvm_hstate.kvm_vcore) local_paca 310 arch/powerpc/kvm/book3s_hv_ras.c local_paca->kvm_hstate.kvm_vcore->tb_offset_applied = 0; local_paca 55 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (kvm->arch.online_vcores == 1 && local_paca->kvm_hstate.kvm_vcpu) local_paca 64 arch/powerpc/kvm/book3s_hv_rm_mmu.c cpu = local_paca->kvm_hstate.kvm_vcore->pcpu; local_paca 185 arch/powerpc/kvm/book3s_hv_rm_xics.c struct kvm_vcpu *this_vcpu = local_paca->kvm_hstate.kvm_vcpu; local_paca 790 arch/powerpc/kvm/book3s_hv_rm_xics.c xics_phys = local_paca->kvm_hstate.xics_phys; local_paca 32 arch/powerpc/kvm/book3s_hv_rm_xive.c return local_paca->kvm_hstate.xive_tima_phys; local_paca 67 arch/powerpc/kvm/book3s_xive.c void __iomem *tima = local_paca->kvm_hstate.xive_tima_virt; local_paca 133 arch/powerpc/mm/book3s64/slb.c assert_slb_presence(true, local_paca->kstack); local_paca 577 arch/powerpc/mm/book3s64/slb.c slb_cache_index = local_paca->slb_cache_ptr; local_paca 583 arch/powerpc/mm/book3s64/slb.c local_paca->slb_cache[slb_cache_index++] = esid_data >> 28; local_paca 584 arch/powerpc/mm/book3s64/slb.c local_paca->slb_cache_ptr++; local_paca 591 arch/powerpc/mm/book3s64/slb.c local_paca->slb_cache_ptr = SLB_CACHE_ENTRIES + 1; local_paca 615 arch/powerpc/mm/book3s64/slb.c if (local_paca->slb_used_bitmap != U32_MAX) { local_paca 616 arch/powerpc/mm/book3s64/slb.c index = ffz(local_paca->slb_used_bitmap); local_paca 617 arch/powerpc/mm/book3s64/slb.c local_paca->slb_used_bitmap |= 1U << index; local_paca 619 arch/powerpc/mm/book3s64/slb.c local_paca->slb_kern_bitmap |= 1U << index; local_paca 622 arch/powerpc/mm/book3s64/slb.c index = local_paca->stab_rr; local_paca 627 arch/powerpc/mm/book3s64/slb.c local_paca->stab_rr = index; local_paca 630 arch/powerpc/mm/book3s64/slb.c local_paca->slb_kern_bitmap |= 1U << index; local_paca 632 arch/powerpc/mm/book3s64/slb.c local_paca->slb_kern_bitmap &= ~(1U << index); local_paca 711 arch/powerpc/mm/book3s64/slb.c flags = local_paca->vmalloc_sllp; local_paca 793 arch/powerpc/mm/book3s64/slb.c BUG_ON(local_paca->in_kernel_slb_handler); local_paca 794 arch/powerpc/mm/book3s64/slb.c local_paca->in_kernel_slb_handler = 1; local_paca 798 arch/powerpc/mm/book3s64/slb.c local_paca->in_kernel_slb_handler = 0; local_paca 667 arch/powerpc/net/bpf_jit_comp.c ((u64 *)image)[1] = local_paca->kernel_toc; local_paca 1218 arch/powerpc/net/bpf_jit_comp64.c ((u64 *)image)[1] = local_paca->kernel_toc; local_paca 384 arch/powerpc/platforms/powernv/idle.c local_paca->thread_idle_state = type; local_paca 386 arch/powerpc/platforms/powernv/idle.c local_paca->thread_idle_state = PNV_THREAD_RUNNING; local_paca 461 arch/powerpc/platforms/powernv/idle.c if ((*state & local_paca->subcore_sibling_mask) != 0) local_paca 492 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SPRG3, local_paca->sprg_vdso); local_paca 530 arch/powerpc/platforms/powernv/idle.c local_paca->kvm_hstate.hwthread_state = KVM_HWTHREAD_IN_IDLE; local_paca 538 arch/powerpc/platforms/powernv/idle.c local_paca->kvm_hstate.hwthread_state = KVM_HWTHREAD_IN_KERNEL; local_paca 541 arch/powerpc/platforms/powernv/idle.c if (local_paca->kvm_hstate.hwthread_req) local_paca 642 arch/powerpc/platforms/powernv/idle.c local_paca->requested_psscr = psscr; local_paca 645 arch/powerpc/platforms/powernv/idle.c if (atomic_read(&local_paca->dont_stop)) { local_paca 646 arch/powerpc/platforms/powernv/idle.c local_paca->requested_psscr = 0; local_paca 694 arch/powerpc/platforms/powernv/idle.c local_paca->requested_psscr = 0; local_paca 796 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_SPRG3, local_paca->sprg_vdso); local_paca 828 arch/powerpc/platforms/powernv/idle.c local_paca->kvm_hstate.hwthread_state = KVM_HWTHREAD_IN_IDLE; local_paca 834 arch/powerpc/platforms/powernv/idle.c local_paca->kvm_hstate.hwthread_state = KVM_HWTHREAD_IN_KERNEL; local_paca 837 arch/powerpc/platforms/powernv/idle.c if (local_paca->kvm_hstate.hwthread_req) local_paca 625 arch/powerpc/platforms/powernv/opal.c local_paca->hmi_event_available = 1; local_paca 646 arch/powerpc/platforms/powernv/opal.c local_paca->hmi_event_available = 1; local_paca 659 arch/powerpc/platforms/powernv/opal.c if (!local_paca->hmi_event_available) local_paca 662 arch/powerpc/platforms/powernv/opal.c local_paca->hmi_event_available = 0; local_paca 193 arch/powerpc/platforms/powernv/smp.c if (local_paca->irq_happened & unexpected_mask) { local_paca 194 arch/powerpc/platforms/powernv/smp.c if (local_paca->irq_happened & PACA_IRQ_EE) local_paca 197 arch/powerpc/platforms/powernv/smp.c cpu, local_paca->irq_happened); local_paca 199 arch/powerpc/platforms/powernv/smp.c local_paca->irq_happened = PACA_IRQ_HARD_DIS; local_paca 59 arch/powerpc/platforms/pseries/dtl.c struct lppaca *vpa = local_paca->lppaca_ptr; local_paca 360 arch/powerpc/platforms/pseries/lpar.c struct dtl_entry *dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); local_paca 361 arch/powerpc/platforms/pseries/lpar.c struct dtl_entry *dtl_end = local_paca->dispatch_log_end; local_paca 362 arch/powerpc/platforms/pseries/lpar.c struct lppaca *vpa = local_paca->lppaca_ptr; local_paca 365 arch/powerpc/platforms/pseries/lpar.c if (!local_paca->dispatch_log) local_paca 387 arch/powerpc/platforms/pseries/lpar.c dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG); local_paca 394 arch/powerpc/platforms/pseries/lpar.c dtl = local_paca->dispatch_log; local_paca 405 arch/powerpc/platforms/pseries/ras.c return (struct rtas_error_log *)local_paca->mce_data_buf; local_paca 441 arch/powerpc/platforms/pseries/ras.c memset(local_paca->mce_data_buf, 0, RTAS_ERROR_LOG_MAX); local_paca 443 arch/powerpc/platforms/pseries/ras.c memcpy(local_paca->mce_data_buf, h, sizeof(__u64)); local_paca 449 arch/powerpc/platforms/pseries/ras.c memcpy(local_paca->mce_data_buf, h, len); local_paca 452 arch/powerpc/platforms/pseries/ras.c return (struct rtas_error_log *)local_paca->mce_data_buf; local_paca 669 arch/powerpc/platforms/pseries/ras.c if (local_paca->in_mce == 1) local_paca 670 arch/powerpc/platforms/pseries/ras.c slb_save_contents(local_paca->mce_faulty_slbs); local_paca 1711 arch/powerpc/xmon/xmon.c local_paca, local_paca->irq_soft_mask, local_paca->irq_happened); local_paca 256 drivers/cpuidle/cpuidle-pseries.c if (lppaca_shared_proc(local_paca->lppaca_ptr)) {