Home
last modified time | relevance | path

Searched refs:SPRN_FSCR (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/arch/powerpc/kernel/
Dcpu_setup_power.c64 fscr = mfspr(SPRN_FSCR); in init_FSCR()
66 mtspr(SPRN_FSCR, fscr); in init_FSCR()
73 fscr = mfspr(SPRN_FSCR); in init_FSCR_power9()
75 mtspr(SPRN_FSCR, fscr); in init_FSCR_power9()
83 fscr = mfspr(SPRN_FSCR); in init_FSCR_power10()
85 mtspr(SPRN_FSCR, fscr); in init_FSCR_power10()
Ddt_cpu_ftrs.c87 mtspr(SPRN_FSCR, system_registers.fscr); in __restore_cpu_cpufeatures()
125 mtspr(SPRN_FSCR, 0); in cpufeatures_setup_cpu()
149 u64 fscr = mfspr(SPRN_FSCR); in feat_try_enable_unknown()
151 mtspr(SPRN_FSCR, fscr); in feat_try_enable_unknown()
184 u64 fscr = mfspr(SPRN_FSCR); in feat_enable()
186 mtspr(SPRN_FSCR, fscr); in feat_enable()
817 system_registers.fscr = mfspr(SPRN_FSCR); in cpufeatures_setup_finished()
Dprom.c708 init_task.thread.fscr = mfspr(SPRN_FSCR); in save_fscr_to_task()
Dtraps.c1721 value = mfspr(SPRN_FSCR); in DEFINE_INTERRUPT_HANDLER()
1767 mtspr(SPRN_FSCR, current->thread.fscr); in DEFINE_INTERRUPT_HANDLER()
Dprocess.c1143 t->fscr = mfspr(SPRN_FSCR); in save_sprs()
1222 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_segment.S87 mfspr r8, SPRN_FSCR
91 mtspr SPRN_FSCR, r9
337 mfspr r7, SPRN_FSCR
342 mtspr SPRN_FSCR, r8
Dbook3s_hv_tm_builtin.c57 ((msr & MSR_PR) && !(mfspr(SPRN_FSCR) & FSCR_EBB))) in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_p9_entry.c262 mtspr(SPRN_FSCR, vcpu->arch.fscr); in load_spr_state()
299 vcpu->arch.fscr = mfspr(SPRN_FSCR); in store_spr_state()
399 mtspr(SPRN_FSCR, current->thread.fscr); in restore_p9_host_os_sprs()
Dbook3s_emulate.c766 case SPRN_FSCR: in kvmppc_core_emulate_mtspr_pr()
947 case SPRN_FSCR: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_pr.c146 mtspr(SPRN_FSCR, mfspr(SPRN_FSCR) & ~FSCR_SCV); in kvmppc_core_vcpu_load_pr()
177 mtspr(SPRN_FSCR, mfspr(SPRN_FSCR) | FSCR_SCV); in kvmppc_core_vcpu_put_pr()
Dbook3s_hv_rmhandlers.S653 mfspr r5, SPRN_FSCR
729 mtspr SPRN_FSCR, r7
1249 mfspr r7, SPRN_FSCR
1277 mtspr SPRN_FSCR, r5
/linux-5.19.10/arch/powerpc/platforms/powernv/
Didle.c350 sprs.fscr = mfspr(SPRN_FSCR); in power7_idle_insn()
484 mtspr(SPRN_FSCR, sprs.fscr); in power7_idle_insn()
664 sprs.fscr = mfspr(SPRN_FSCR); in power9_idle_stop()
780 mtspr(SPRN_FSCR, sprs.fscr); in power9_idle_stop()
/linux-5.19.10/arch/powerpc/include/asm/
Dreg.h412 #define SPRN_FSCR 0x099 /* Facility Status & Control Register */ macro
/linux-5.19.10/arch/powerpc/xmon/
Dxmon.c2061 mfspr(SPRN_FSCR), mfspr(SPRN_TAR), mfspr(SPRN_PSPB)); in dump_207_sprs()