Home
last modified time | relevance | path

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

/linux/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 = mfspr(SPRN_FSCR); in init_FSCR_power10()
[all …]
H A Dtraps.c1811 current->thread.fscr |= FSCR_DSCR; in DEFINE_INTERRUPT_HANDLER()
1812 mtspr(SPRN_FSCR, current->thread.fscr); in DEFINE_INTERRUPT_HANDLER()
/linux/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_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.h106 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(fscr, 64, KVMPPC_GSID_FSCR)
H A Dbook3s_emulate.c948 *spr_val = vcpu->arch.fscr; in kvmppc_core_emulate_mfspr_pr()
/linux/Documentation/devicetree/bindings/powerpc/
H 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/
H A Dprocessor.h234 unsigned long fscr; member