Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Ddt_cpu_ftrs.c97 lpcr = mfspr(SPRN_LPCR); in __restore_cpu_cpufeatures()
100 mtspr(SPRN_LPCR, lpcr); in __restore_cpu_cpufeatures()
241 lpcr = mfspr(SPRN_LPCR); in feat_enable_hv()
243 mtspr(SPRN_LPCR, lpcr); in feat_enable_hv()
268 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_nap()
272 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_nap()
289 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_stop()
293 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_stop()
302 lpcr = mfspr(SPRN_LPCR); in feat_enable_mmu_hash()
309 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash()
[all …]
Dcpu_setup_power.S32 mfspr r3,SPRN_LPCR
46 mfspr r3,SPRN_LPCR
63 mfspr r3,SPRN_LPCR
85 mfspr r3,SPRN_LPCR
107 mfspr r3,SPRN_LPCR
132 mfspr r3,SPRN_LPCR
180 mtspr SPRN_LPCR,r3
Dcpu_setup_pa6t.S40 mfspr r0,SPRN_LPCR
42 mtspr SPRN_LPCR,r0
Dsetup_64.c241 unsigned long lpcr = mfspr(SPRN_LPCR); in cpu_ready_for_interrupts()
242 mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); in cpu_ready_for_interrupts()
Didle_book3s.S68 mfspr r3,SPRN_LPCR
130 mtspr SPRN_LPCR,r3
Dtime.c1006 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Didle.c75 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states()
92 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
465 mtspr(SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
472 opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
496 lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; in pnv_cpu_offline()
536 lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; in pnv_cpu_offline()
Dvas-window.c302 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
/Linux-v4.19/drivers/cpuidle/
Dcpuidle-powernv.c121 unsigned long old_lpcr = mfspr(SPRN_LPCR); in fastsleep_loop()
133 mtspr(SPRN_LPCR, new_lpcr); in fastsleep_loop()
137 mtspr(SPRN_LPCR, old_lpcr); in fastsleep_loop()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-radix.c607 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu()
608 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu()
632 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu_secondary()
633 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu_secondary()
651 lpcr = mfspr(SPRN_LPCR); in radix__mmu_cleanup_all()
652 mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); in radix__mmu_cleanup_all()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c143 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_MER); in icp_rm_set_vcpu_irq()
175 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_MER); in icp_rm_clr_vcpu_irq()
Dbook3s_hv_builtin.c686 mtspr(SPRN_LPCR, sip->lpcr_req); in kvmhv_p9_set_lpcr()
720 mtspr(SPRN_LPCR, sip->host_lpcr); in kvmhv_p9_restore_lpcr()
Dbook3s_hv_rmhandlers.S226 mtspr SPRN_LPCR,r8
479 mfspr r4, SPRN_LPCR
481 mtspr SPRN_LPCR, r4
570 mfspr r5, SPRN_LPCR
996 mtspr SPRN_LPCR,r8
1128 mfspr r8, SPRN_LPCR
1131 mtspr SPRN_LPCR, r8
2080 mtspr SPRN_LPCR,r8
2743 mfspr r5,SPRN_LPCR
2764 mtspr SPRN_LPCR,r5
[all …]
Dbook3s_pr.c111 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); in kvmppc_core_vcpu_load_pr()
146 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); in kvmppc_core_vcpu_put_pr()
Dbook3s_hv.c3962 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
/Linux-v4.19/drivers/misc/ocxl/
Dlink.c463 if (mfspr(SPRN_LPCR) & LPCR_TC) in calculate_cfg_state()
/Linux-v4.19/arch/powerpc/include/asm/
Dreg.h419 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
/Linux-v4.19/drivers/misc/cxl/
Dnative.c606 if (mfspr(SPRN_LPCR) & LPCR_TC) in cxl_calculate_sr()
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c1814 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()