Searched refs:SPRN_LPCR (Results 1 – 19 of 19) sorted by relevance
/arch/powerpc/kernel/ |
D | cpu_setup_power.c | 37 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()
|
D | cpu_setup_pa6t.S | 27 mfspr r0,SPRN_LPCR 29 mtspr SPRN_LPCR,r0
|
D | dt_cpu_ftrs.c | 80 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 …]
|
D | setup_64.c | 236 unsigned long lpcr = mfspr(SPRN_LPCR); in cpu_ready_for_interrupts() 251 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
|
D | time.c | 899 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
|
/arch/powerpc/platforms/powernv/ |
D | smp.c | 213 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()
|
D | idle.c | 75 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()
|
D | vas-window.c | 291 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
|
/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 668 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/ |
D | book3s_hv_rm_xics.c | 140 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()
|
D | book3s_hv_p9_entry.c | 101 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()
|
D | book3s_hv_interrupts.S | 68 mtspr SPRN_LPCR, r8
|
D | book3s_hv_builtin.c | 655 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int() 657 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
|
D | book3s_hv_rmhandlers.S | 154 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
|
D | book3s_64_entry.S | 390 mtspr SPRN_LPCR,r10
|
D | book3s_pr.c | 145 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()
|
D | book3s_hv.c | 5235 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
|
/arch/powerpc/include/asm/ |
D | reg.h | 432 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
|
/arch/powerpc/xmon/ |
D | xmon.c | 2046 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()
|