Home
last modified time | relevance | path

Searched refs:fscr (Results 1 – 17 of 17) sorted by relevance

/linux/arch/powerpc/kernel/
A Dcpu_setup_power.c62 u64 fscr; in init_FSCR() local
64 fscr = mfspr(SPRN_FSCR); 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 = mfspr(SPRN_FSCR); in init_FSCR_power10()
84 fscr |= FSCR_PREFIX; in init_FSCR_power10()
[all …]
A Ddt_cpu_ftrs.c72 u64 fscr; member
86 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()
803 system_registers.fscr = mfspr(SPRN_FSCR); in cpufeatures_setup_finished()
A Dprocess.c1146 t->fscr = mfspr(SPRN_FSCR); in save_sprs()
1190 if (old_thread->fscr != new_thread->fscr) in restore_sprs()
1191 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
A Dsetup_64.c202 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions()
A Dprom.c709 init_task.thread.fscr = mfspr(SPRN_FSCR); in save_fscr_to_task()
A Dtraps.c1764 current->thread.fscr |= FSCR_DSCR; in DEFINE_INTERRUPT_HANDLER()
1765 mtspr(SPRN_FSCR, current->thread.fscr); in DEFINE_INTERRUPT_HANDLER()
A Dasm-offsets.c476 OFFSET(VCPU_FSCR, kvm_vcpu, arch.fscr); in main()
/linux/arch/powerpc/kvm/
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()
A Dbook3s_pr.c398 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
410 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
964 vcpu->arch.fscr &= ~(0xffULL << 56); in kvmppc_trigger_fac_interrupt()
965 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt()
995 guest_fac_enabled = (vcpu->arch.fscr & (1ULL << fac)); in kvmppc_handle_fac()
1038 void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr) in kvmppc_set_fscr() argument
1040 if ((vcpu->arch.fscr & FSCR_TAR) && !(fscr & FSCR_TAR)) { in kvmppc_set_fscr()
1043 } else if (!(vcpu->arch.fscr & FSCR_TAR) && (fscr & FSCR_TAR)) { in kvmppc_set_fscr()
1044 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
1049 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
A Dbook3s.c661 *val = get_reg_val(id, vcpu->arch.fscr); in kvmppc_get_one_reg()
746 vcpu->arch.fscr = set_reg_val(id, *val); in kvmppc_set_one_reg()
A Dbook3s_hv.c3778 mtspr(SPRN_FSCR, vcpu->arch.fscr); in load_spr_state()
3804 vcpu->arch.fscr = mfspr(SPRN_FSCR); in store_spr_state()
3823 unsigned long fscr; member
3832 host_os_sprs->fscr = mfspr(SPRN_FSCR); in save_p9_host_os_sprs()
3849 if (host_os_sprs->fscr != vcpu->arch.fscr) in restore_p9_host_os_sprs()
3850 mtspr(SPRN_FSCR, host_os_sprs->fscr); in restore_p9_host_os_sprs()
A Dbook3s_emulate.c948 *spr_val = vcpu->arch.fscr; in kvmppc_core_emulate_mfspr_pr()
/linux/arch/powerpc/platforms/powernv/
A Didle.c300 u64 fscr; member
351 sprs.fscr = mfspr(SPRN_FSCR); in power7_idle_insn()
486 mtspr(SPRN_FSCR, sprs.fscr); in power7_idle_insn()
587 u64 fscr; member
665 sprs.fscr = mfspr(SPRN_FSCR); in power9_idle_stop()
782 mtspr(SPRN_FSCR, sprs.fscr); in power9_idle_stop()
/linux/Documentation/devicetree/bindings/powerpc/
A Dibm,powerpc-cpu-features.txt144 If the FSCR bit is set, then the fscr-bit-nr property will exist and
161 - fscr-bit-nr
243 fscr-bit-nr = <xx>;
/linux/arch/powerpc/include/asm/
A Dprocessor.h234 unsigned long fscr; member
A Dkvm_book3s.h265 extern void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr);
A Dkvm_host.h582 ulong fscr; member

Completed in 53 milliseconds