Home
last modified time | relevance | path

Searched refs:fscr (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dcpu_setup_power.c62 u64 fscr; in init_FSCR() local
64 fscr = mfspr(SPRN_FSCR); in init_FSCR()
65 fscr |= FSCR_TAR|FSCR_EBB; in init_FSCR()
66 mtspr(SPRN_FSCR, fscr); in init_FSCR()
71 u64 fscr; in init_FSCR_power9() local
73 fscr = mfspr(SPRN_FSCR); in init_FSCR_power9()
74 fscr |= FSCR_SCV; in init_FSCR_power9()
75 mtspr(SPRN_FSCR, fscr); in init_FSCR_power9()
81 u64 fscr; in init_FSCR_power10() local
83 fscr in init_FSCR_power10()
[all...]
H A Ddt_cpu_ftrs.c74 u64 fscr; member
105 mtspr(SPRN_FSCR, system_registers.fscr); in __restore_cpu_cpufeatures()
168 u64 fscr = mfspr(SPRN_FSCR); in feat_try_enable_unknown() local
169 fscr |= 1UL << f->fscr_bit_nr; in feat_try_enable_unknown()
170 mtspr(SPRN_FSCR, fscr); in feat_try_enable_unknown()
203 u64 fscr = mfspr(SPRN_FSCR); in feat_enable() local
204 fscr |= 1UL << f->fscr_bit_nr; in feat_enable()
205 mtspr(SPRN_FSCR, fscr); in feat_enable()
831 system_registers.fscr = mfspr(SPRN_FSCR); in cpufeatures_setup_finished()
940 prop = of_get_flat_dt_prop(node, "fscr in process_cpufeatures_node()
[all...]
H A Dprocess.c1152 t->fscr = mfspr(SPRN_FSCR); in save_sprs()
1193 if (old_thread->fscr != new_thread->fscr) in restore_sprs()
1194 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
H A Dsetup_64.c201 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions()
H A Dprom.c708 init_task.thread.fscr = mfspr(SPRN_FSCR); in save_fscr_to_task()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dcpu_setup_power.c62 u64 fscr; in init_FSCR() local
64 fscr = mfspr(SPRN_FSCR); in init_FSCR()
65 fscr |= FSCR_TAR|FSCR_EBB; in init_FSCR()
66 mtspr(SPRN_FSCR, fscr); in init_FSCR()
71 u64 fscr; in init_FSCR_power9() local
73 fscr = mfspr(SPRN_FSCR); in init_FSCR_power9()
74 fscr |= FSCR_SCV; in init_FSCR_power9()
75 mtspr(SPRN_FSCR, fscr); in init_FSCR_power9()
81 u64 fscr; in init_FSCR_power10() local
83 fscr in init_FSCR_power10()
[all...]
H A Ddt_cpu_ftrs.c72 u64 fscr; member
87 mtspr(SPRN_FSCR, system_registers.fscr); in __restore_cpu_cpufeatures()
148 u64 fscr = mfspr(SPRN_FSCR); in feat_try_enable_unknown() local
149 fscr |= 1UL << f->fscr_bit_nr; in feat_try_enable_unknown()
150 mtspr(SPRN_FSCR, fscr); in feat_try_enable_unknown()
183 u64 fscr = mfspr(SPRN_FSCR); in feat_enable() local
184 fscr |= 1UL << f->fscr_bit_nr; in feat_enable()
185 mtspr(SPRN_FSCR, fscr); in feat_enable()
813 system_registers.fscr = mfspr(SPRN_FSCR); in cpufeatures_setup_finished()
922 prop = of_get_flat_dt_prop(node, "fscr in process_cpufeatures_node()
[all...]
H A Dsetup_64.c236 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions()
242 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions()
H A Dprocess.c1175 t->fscr = mfspr(SPRN_FSCR); in save_sprs()
1256 if (old_thread->fscr != new_thread->fscr) in restore_sprs()
1257 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_tm.c86 if ((msr & MSR_PR) && !(vcpu->arch.fscr & FSCR_EBB)) { in kvmhv_p9_tm_emulation()
88 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation()
137 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation()
167 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation()
205 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation()
H A Dbook3s_pr.c397 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
409 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
985 vcpu->arch.fscr &= ~(0xffULL << 56); in kvmppc_trigger_fac_interrupt()
986 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt()
1016 guest_fac_enabled = (vcpu->arch.fscr & (1ULL << fac)); in kvmppc_handle_fac()
1059 void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr) in kvmppc_set_fscr() argument
1061 if ((vcpu->arch.fscr & FSCR_TAR) && !(fscr & FSCR_TAR)) { in kvmppc_set_fscr()
1064 } else if (!(vcpu->arch.fscr & FSCR_TAR) && (fscr in kvmppc_set_fscr()
[all...]
H A Dbook3s.c631 *val = get_reg_val(id, vcpu->arch.fscr); in kvmppc_get_one_reg()
716 vcpu->arch.fscr = set_reg_val(id, *val); in kvmppc_set_one_reg()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_tm.c96 if ((msr & MSR_PR) && !(vcpu->arch.fscr & FSCR_EBB)) { in kvmhv_p9_tm_emulation()
98 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation()
99 vcpu->arch.fscr |= (u64)FSCR_EBB_LG << 56; in kvmhv_p9_tm_emulation()
149 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation()
150 vcpu->arch.fscr |= (u64)FSCR_TM_LG << 56; in kvmhv_p9_tm_emulation()
181 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation()
182 vcpu->arch.fscr |= (u64)FSCR_TM_LG << 56; in kvmhv_p9_tm_emulation()
221 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation()
222 vcpu->arch.fscr |= (u64)FSCR_TM_LG << 56; in kvmhv_p9_tm_emulation()
H A Dbook3s_pr.c145 if (cpu_has_feature(CPU_FTR_ARCH_300) && (current->thread.fscr & FSCR_SCV)) in kvmppc_core_vcpu_load_pr()
176 if (cpu_has_feature(CPU_FTR_ARCH_300) && (current->thread.fscr & FSCR_SCV)) in kvmppc_core_vcpu_put_pr()
404 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
416 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
969 vcpu->arch.fscr &= ~(0xffULL << 56); in kvmppc_trigger_fac_interrupt()
970 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt()
1000 guest_fac_enabled = (vcpu->arch.fscr & (1ULL << fac)); in kvmppc_handle_fac()
1043 void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr) in kvmppc_set_fscr() argument
1045 if (fscr & FSCR_SCV) in kvmppc_set_fscr()
1046 fscr in kvmppc_set_fscr()
[all...]
H A Dbook3s_hv_p9_entry.c40 if (current->thread.fscr != vcpu->arch.fscr) in load_spr_state()
41 mtspr(SPRN_FSCR, vcpu->arch.fscr); in load_spr_state()
78 vcpu->arch.fscr = mfspr(SPRN_FSCR); in store_spr_state()
177 if (current->thread.fscr != vcpu->arch.fscr) in restore_p9_host_os_sprs()
178 mtspr(SPRN_FSCR, current->thread.fscr); in restore_p9_host_os_sprs()
H A Dbook3s_hv.h98 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(fscr, 64)
H A Dbook3s.c683 *val = get_reg_val(id, vcpu->arch.fscr); in kvmppc_get_one_reg()
768 vcpu->arch.fscr = set_reg_val(id, *val); in kvmppc_set_one_reg()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Didle.c299 u64 fscr; member
350 sprs.fscr = mfspr(SPRN_FSCR); in power7_idle_insn()
485 mtspr(SPRN_FSCR, sprs.fscr); in power7_idle_insn()
586 u64 fscr; member
665 sprs.fscr = mfspr(SPRN_FSCR); in power9_idle_stop()
782 mtspr(SPRN_FSCR, sprs.fscr); in power9_idle_stop()
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Didle.c301 u64 fscr; member
352 sprs.fscr = mfspr(SPRN_FSCR); in power7_idle_insn()
486 mtspr(SPRN_FSCR, sprs.fscr); in power7_idle_insn()
589 u64 fscr; member
666 sprs.fscr = mfspr(SPRN_FSCR); in power9_idle_stop()
782 mtspr(SPRN_FSCR, sprs.fscr); in power9_idle_stop()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dprocessor.h245 unsigned long fscr; member
H A Dkvm_book3s.h263 extern void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr);
H A Dkvm_host.h593 ulong fscr; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dprocessor.h234 unsigned long fscr; member
H A Dkvm_book3s.h265 extern void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr);
H A Dkvm_host.h594 ulong fscr; member

Completed in 32 milliseconds

12