Searched refs:SPRN_LPCR (Results 1 – 19 of 19) sorted by relevance
| /arch/powerpc/kernel/ |
| A D | cpu_setup_power.c | 37 mtspr(SPRN_LPCR, lpcr); in init_LPCR_ISA300() 148 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __setup_cpu_power7() 162 init_LPCR_ISA206(mfspr(SPRN_LPCR), LPCR_LPES1 >> LPCR_LPES_SH); in __restore_cpu_power7() 177 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __setup_cpu_power8() 198 init_LPCR_ISA206(mfspr(SPRN_LPCR) | LPCR_PECEDH, 0); /* LPES = 0 */ in __restore_cpu_power8() 217 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power9() 239 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power9() 260 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __setup_cpu_power10() 284 init_LPCR_ISA300((mfspr(SPRN_LPCR) | LPCR_PECEDH | LPCR_PECE_HVEE |\ in __restore_cpu_power10()
|
| A D | dt_cpu_ftrs.c | 221 lpcr = mfspr(SPRN_LPCR); in feat_enable_hv() 223 mtspr(SPRN_LPCR, lpcr); in feat_enable_hv() 248 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_nap() 252 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_nap() 262 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_stop() 266 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_stop() 278 lpcr = mfspr(SPRN_LPCR); in feat_enable_mmu_hash() 285 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash() 302 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash_v3() 341 mtspr(SPRN_LPCR, lpcr); in feat_enable_dscr() [all …]
|
| A D | cpu_setup_pa6t.S | 27 mfspr r0,SPRN_LPCR 29 mtspr SPRN_LPCR,r0
|
| A D | setup_64.c | 276 unsigned long lpcr = mfspr(SPRN_LPCR); in cpu_ready_for_interrupts() 291 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
|
| A D | time.c | 854 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
|
| /arch/powerpc/platforms/powernv/ |
| A D | idle.c | 74 uint64_t lpcr_val = mfspr(SPRN_LPCR); in pnv_save_sprs_for_deep_states() 88 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states() 349 sprs.lpcr = mfspr(SPRN_LPCR); in power7_idle_insn() 483 mtspr(SPRN_LPCR, sprs.lpcr); in power7_idle_insn() 664 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 D | smp.c | 216 lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; in pnv_cpu_offline_self() 293 lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1; in pnv_cpu_offline_self()
|
| A D | vas-window.c | 291 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
|
| /arch/powerpc/kvm/ |
| A 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()
|
| A D | book3s_hv_interrupts.S | 69 mtspr SPRN_LPCR, r8
|
| A D | book3s_hv_builtin.c | 579 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int() 581 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
|
| A D | book3s_hv_p9_entry.c | 318 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_guest_radix() 343 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_guest_hpt() 368 mtspr(SPRN_LPCR, lpcr); in switch_mmu_to_host()
|
| A D | book3s_hv_rmhandlers.S | 164 mtspr SPRN_LPCR,r8 409 mfspr r4, SPRN_LPCR 411 mtspr SPRN_LPCR, r4 491 mfspr r5, SPRN_LPCR 819 mtspr SPRN_LPCR,r8 1497 mtspr SPRN_LPCR,r8 2181 mfspr r5,SPRN_LPCR 2190 mtspr SPRN_LPCR,r5
|
| A D | book3s_64_entry.S | 395 mtspr SPRN_LPCR,r10
|
| A D | book3s_pr.c | 144 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); in kvmppc_core_vcpu_load_pr() 175 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); in kvmppc_core_vcpu_put_pr()
|
| A D | book3s_hv.c | 5766 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
|
| /arch/powerpc/mm/book3s64/ |
| A D | radix_pgtable.c | 642 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu() 643 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu() 663 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu_secondary() 664 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu_secondary() 683 lpcr = mfspr(SPRN_LPCR); in radix__mmu_cleanup_all() 684 mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); in radix__mmu_cleanup_all()
|
| /arch/powerpc/include/asm/ |
| A D | reg.h | 436 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
|
| /arch/powerpc/xmon/ |
| A D | xmon.c | 2020 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()
|
Completed in 61 milliseconds