/kernel/linux/linux-5.10/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 | dt_cpu_ftrs.c | 96 lpcr = mfspr(SPRN_LPCR); in __restore_cpu_cpufeatures() 99 mtspr(SPRN_LPCR, lpcr); in __restore_cpu_cpufeatures() 240 lpcr = mfspr(SPRN_LPCR); in feat_enable_hv() 242 mtspr(SPRN_LPCR, lpcr); in feat_enable_hv() 267 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_nap() 271 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_nap() 288 lpcr = mfspr(SPRN_LPCR); in feat_enable_idle_stop() 292 mtspr(SPRN_LPCR, lpcr); in feat_enable_idle_stop() 301 lpcr = mfspr(SPRN_LPCR); in feat_enable_mmu_hash() 308 mtspr(SPRN_LPCR, lpcr); in feat_enable_mmu_hash() [all …]
|
D | cpu_setup_pa6t.S | 27 mfspr r0,SPRN_LPCR 29 mtspr SPRN_LPCR,r0
|
D | setup_64.c | 235 unsigned long lpcr = mfspr(SPRN_LPCR); in cpu_ready_for_interrupts() 250 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
|
D | time.c | 984 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_LD); in enable_large_decrementer()
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | cpuidle-powernv.c | 118 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
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() 347 sprs.lpcr = mfspr(SPRN_LPCR); in power7_idle_insn() 482 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() 1078 mtspr(SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr() 1085 opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_program_cpu_hotplug_lpcr()
|
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 | vas-window.c | 290 lpcr = mfspr(SPRN_LPCR); in init_xlate_regs()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 691 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu() 692 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu() 713 lpcr = mfspr(SPRN_LPCR); in radix__early_init_mmu_secondary() 714 mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); in radix__early_init_mmu_secondary() 731 lpcr = mfspr(SPRN_LPCR); in radix__mmu_cleanup_all() 732 mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); in radix__mmu_cleanup_all()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_builtin.c | 703 mtspr(SPRN_LPCR, sip->lpcr_req); in kvmhv_p9_set_lpcr() 737 mtspr(SPRN_LPCR, sip->host_lpcr); in kvmhv_p9_restore_lpcr() 826 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int() 828 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
|
D | book3s_hv_rm_xics.c | 140 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()
|
D | book3s_hv_interrupts.S | 68 mtspr SPRN_LPCR, r8
|
D | book3s_hv_rmhandlers.S | 191 mtspr SPRN_LPCR,r8 448 mfspr r4, SPRN_LPCR 450 mtspr SPRN_LPCR, r4 547 mfspr r5, SPRN_LPCR 906 mtspr SPRN_LPCR,r8 1962 mtspr SPRN_LPCR,r8 2740 mfspr r5,SPRN_LPCR 2762 mtspr SPRN_LPCR,r5 3408 mtspr SPRN_LPCR, r8
|
D | book3s_pr.c | 144 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~LPCR_AIL); in kvmppc_core_vcpu_load_pr() 179 mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) | LPCR_AIL_3); in kvmppc_core_vcpu_put_pr()
|
D | book3s_hv.c | 3467 mtspr(SPRN_LPCR, vcpu->kvm->arch.host_lpcr | LPCR_HDICE); in kvmhv_load_hv_regs_and_go() 3472 mtspr(SPRN_LPCR, vcpu->kvm->arch.host_lpcr); in kvmhv_load_hv_regs_and_go() 3517 mtspr(SPRN_LPCR, lpcr); in kvmhv_load_hv_regs_and_go() 3587 mtspr(SPRN_LPCR, vcpu->kvm->arch.host_lpcr); in kvmhv_load_hv_regs_and_go() 4958 kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); in kvmppc_core_init_vm_hv()
|
/kernel/linux/linux-5.10/drivers/misc/ocxl/ |
D | link.c | 478 if (mfspr(SPRN_LPCR) & LPCR_TC) in calculate_cfg_state()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | reg.h | 433 #define SPRN_LPCR 0x13E /* LPAR Control Register */ macro
|
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
D | native.c | 602 if (mfspr(SPRN_LPCR) & LPCR_TC) in cxl_calculate_sr()
|
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
D | xmon.c | 1954 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()
|