Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
A 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()
A Ddt_cpu_ftrs.c220 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()
295 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash_v3()
334 mtspr(SPRN_LPCR, lpcr); in feat_enable_dscr()
[all …]
A Dcpu_setup_pa6t.S27 mfspr r0,SPRN_LPCR
29 mtspr SPRN_LPCR,r0
A 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()
A Dtime.c891 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
/linux/drivers/cpuidle/
A Dcpuidle-powernv.c118 unsigned long old_lpcr = mfspr(SPRN_LPCR); in fastsleep_loop()
130 mtspr(SPRN_LPCR, new_lpcr); in fastsleep_loop()
134 mtspr(SPRN_LPCR, old_lpcr); in fastsleep_loop()
/linux/arch/powerpc/platforms/powernv/
A 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()
A 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()
A Dvas-window.c291 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
/linux/arch/powerpc/mm/book3s64/
A Dradix_pgtable.c644 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu()
645 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu()
666 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu_secondary()
667 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu_secondary()
688 lpcr = mfspr(SPRN_LPCR); in radix__mmu_cleanup_all()
689 mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); in radix__mmu_cleanup_all()
/linux/arch/powerpc/kvm/
A 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()
A Dbook3s_hv_p9_entry.c110 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_guest_radix()
124 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_guest_hpt()
140 mtspr(SPRN_LPCR, kvm->arch.host_lpcr); in switch_mmu_to_host()
A Dbook3s_hv_interrupts.S68 mtspr SPRN_LPCR, r8
A Dbook3s_hv_builtin.c654 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int()
656 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
A 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
A Dbook3s_64_entry.S390 mtspr SPRN_LPCR,r10
A 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()
A Dbook3s_hv.c5232 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
/linux/drivers/misc/ocxl/
A Dlink.c519 if (mfspr(SPRN_LPCR) & LPCR_TC) in calculate_cfg_state()
/linux/arch/powerpc/include/asm/
A Dreg.h432 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
/linux/drivers/misc/cxl/
A Dnative.c602 if (mfspr(SPRN_LPCR) & LPCR_TC) in cxl_calculate_sr()
/linux/arch/powerpc/xmon/
A Dxmon.c2044 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()

Completed in 57 milliseconds