Home
last modified time | relevance | path

Searched refs:SPRN_LPCR (Results 1 – 19 of 19) sorted by relevance

/arch/powerpc/kernel/
Dcpu_setup_power.c37 mtspr(SPRN_LPCR, lpcr); in init_LPCR_ISA300()
141 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __setup_cpu_power7()
154 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __restore_cpu_power7()
168 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __setup_cpu_power8()
188 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __restore_cpu_power8()
206 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power9()
227 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power9()
246 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power10()
268 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power10()
Dcpu_setup_pa6t.S27 mfspr r0,SPRN_LPCR
29 mtspr SPRN_LPCR,r0
Ddt_cpu_ftrs.c80 mtspr(SPRN_LPCR, system_registers.lpcr); in __restore_cpu_cpufeatures()
220 lpcr = mfspr(SPRN_LPCR); in feat_enable_hv()
222 mtspr(SPRN_LPCR, lpcr); in feat_enable_hv()
247 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_nap()
251 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_nap()
261 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_stop()
265 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_stop()
274 lpcr = mfspr(SPRN_LPCR); in feat_enable_mmu_hash()
281 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash()
293 lpcr = mfspr(SPRN_LPCR); in feat_enable_mmu_hash_v3()
[all …]
Dsetup_64.c236 unsigned long lpcr = mfspr(SPRN_LPCR); in cpu_ready_for_interrupts()
251 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
Dtime.c899 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
/arch/powerpc/platforms/powernv/
Dsmp.c213 lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; in pnv_cpu_offline_self()
290 lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; in pnv_cpu_offline_self()
Didle.c75 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states()
89 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
348 sprs.lpcr = mfspr(SPRN_LPCR); in power7_idle_insn()
483 mtspr(SPRN_LPCR, sprs.lpcr); in power7_idle_insn()
663 sprs.lpcr = mfspr(SPRN_LPCR); in power9_idle_stop()
780 mtspr(SPRN_LPCR, sprs.lpcr); in power9_idle_stop()
1044 mtspr(SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
1051 opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
Dvas-window.c291 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c668 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu()
669 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu()
690 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu_secondary()
691 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu_secondary()
712 lpcr = mfspr(SPRN_LPCR); in radix__mmu_cleanup_all()
713 mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); in radix__mmu_cleanup_all()
/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c140 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_MER); in icp_rm_set_vcpu_irq()
171 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_MER); in icp_rm_clr_vcpu_irq()
Dbook3s_hv_p9_entry.c101 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_guest_radix()
115 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_guest_hpt()
131 mtspr(SPRN_LPCR, kvm->arch.host_lpcr); in switch_mmu_to_host()
Dbook3s_hv_interrupts.S68 mtspr SPRN_LPCR, r8
Dbook3s_hv_builtin.c655 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int()
657 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
Dbook3s_hv_rmhandlers.S154 mtspr SPRN_LPCR,r8
399 mfspr r4, SPRN_LPCR
401 mtspr SPRN_LPCR, r4
481 mfspr r5, SPRN_LPCR
813 mtspr SPRN_LPCR,r8
1497 mtspr SPRN_LPCR,r8
2195 mfspr r5,SPRN_LPCR
2204 mtspr SPRN_LPCR,r5
Dbook3s_64_entry.S390 mtspr SPRN_LPCR,r10
Dbook3s_pr.c145 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); in kvmppc_core_vcpu_load_pr()
180 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); in kvmppc_core_vcpu_put_pr()
Dbook3s_hv.c5235 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
/arch/powerpc/include/asm/
Dreg.h432 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
/arch/powerpc/xmon/
Dxmon.c2046 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()