/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | cpu_setup_power.c | 62 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 …]
|
D | dt_cpu_ftrs.c | 74 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()
|
D | process.c | 1152 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()
|
D | prom.c | 708 init_task.thread.fscr = mfspr(SPRN_FSCR); in save_fscr_to_task()
|
D | setup_64.c | 201 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions()
|
D | traps.c | 1804 current->thread.fscr |= FSCR_DSCR; in facility_unavailable_exception() 1805 mtspr(SPRN_FSCR, current->thread.fscr); in facility_unavailable_exception()
|
D | asm-offsets.c | 581 OFFSET(VCPU_FSCR, kvm_vcpu, arch.fscr); in main()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_tm.c | 86 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()
|
D | book3s_pr.c | 397 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 & FSCR_TAR)) { in kvmppc_set_fscr() 1065 vcpu->arch.fscr = fscr; in kvmppc_set_fscr() 1070 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
|
D | book3s.c | 631 *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()
|
D | book3s_emulate.c | 949 *spr_val = vcpu->arch.fscr; in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv.c | 3647 mtspr(SPRN_FSCR, vcpu->arch.fscr); in kvmhv_p9_guest_entry() 3724 vcpu->arch.fscr = mfspr(SPRN_FSCR); in kvmhv_p9_guest_entry() 3746 if (host_fscr != vcpu->arch.fscr) in kvmhv_p9_guest_entry() 4418 mtspr(SPRN_FSCR, current->thread.fscr); in kvmppc_vcpu_run_hv()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | idle.c | 299 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-5.10/Documentation/devicetree/bindings/powerpc/ |
D | ibm,powerpc-cpu-features.txt | 144 If the FSCR bit is set, then the fscr-bit-nr property will exist and 161 - fscr-bit-nr 243 fscr-bit-nr = <xx>;
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | processor.h | 245 unsigned long fscr; member
|
D | kvm_book3s.h | 263 extern void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr);
|
D | kvm_host.h | 593 ulong fscr; member
|