Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Ddt_cpu_ftrs.c97 lpcr = mfspr(SPRN_LPCR); in __restore_cpu_cpufeatures()
100 mtspr(SPRN_LPCR, lpcr); in __restore_cpu_cpufeatures()
242 lpcr = mfspr(SPRN_LPCR); in feat_enable_hv()
244 mtspr(SPRN_LPCR, lpcr); in feat_enable_hv()
269 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_nap()
273 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_nap()
290 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_stop()
294 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_stop()
303 lpcr = mfspr(SPRN_LPCR); in feat_enable_mmu_hash()
310 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash()
[all …]
Dcpu_setup_pa6t.S27 mfspr r0,SPRN_LPCR
29 mtspr SPRN_LPCR,r0
Dcpu_setup_power.S28 mfspr r3,SPRN_LPCR
43 mfspr r3,SPRN_LPCR
61 mfspr r3,SPRN_LPCR
84 mfspr r3,SPRN_LPCR
107 mfspr r3,SPRN_LPCR
133 mfspr r3,SPRN_LPCR
181 mtspr SPRN_LPCR,r3
Dsetup_64.c237 unsigned long lpcr = mfspr(SPRN_LPCR); in cpu_ready_for_interrupts()
238 mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); in cpu_ready_for_interrupts()
Dtime.c1041 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
/arch/powerpc/platforms/powernv/
Didle.c74 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states()
91 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
347 sprs.lpcr = mfspr(SPRN_LPCR); in power7_idle_insn()
482 mtspr(SPRN_LPCR, sprs.lpcr); in power7_idle_insn()
661 sprs.lpcr = mfspr(SPRN_LPCR); in power9_idle_stop()
780 mtspr(SPRN_LPCR, sprs.lpcr); in power9_idle_stop()
953 mtspr(SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
960 opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
Dsmp.c211 lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; in pnv_smp_cpu_kill_self()
288 lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; in pnv_smp_cpu_kill_self()
Dvas-window.c288 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c598 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu()
599 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu()
620 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu_secondary()
621 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu_secondary()
638 lpcr = mfspr(SPRN_LPCR); in radix__mmu_cleanup_all()
639 mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); in radix__mmu_cleanup_all()
/arch/powerpc/kvm/
Dbook3s_hv_builtin.c711 mtspr(SPRN_LPCR, sip->lpcr_req); in kvmhv_p9_set_lpcr()
745 mtspr(SPRN_LPCR, sip->host_lpcr); in kvmhv_p9_restore_lpcr()
770 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int()
772 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
Dbook3s_hv_rm_xics.c140 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_MER); in icp_rm_set_vcpu_irq()
178 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_MER); in icp_rm_clr_vcpu_irq()
Dbook3s_hv_rmhandlers.S191 mtspr SPRN_LPCR,r8
441 mfspr r4, SPRN_LPCR
443 mtspr SPRN_LPCR, r4
541 mfspr r5, SPRN_LPCR
900 mtspr SPRN_LPCR,r8
1952 mtspr SPRN_LPCR,r8
2730 mfspr r5,SPRN_LPCR
2752 mtspr SPRN_LPCR,r5
3366 mtspr SPRN_LPCR, r8
Dbook3s_pr.c108 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); in kvmppc_core_vcpu_load_pr()
143 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); in kvmppc_core_vcpu_put_pr()
Dbook3s_hv.c3445 mtspr(SPRN_LPCR, lpcr); in kvmhv_load_hv_regs_and_go()
3508 mtspr(SPRN_LPCR, vcpu->kvm->arch.host_lpcr); in kvmhv_load_hv_regs_and_go()
4820 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
/arch/powerpc/include/asm/
Dreg.h429 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
/arch/powerpc/xmon/
Dxmon.c1834 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()